Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface CSSTransitionProvidedProps<E>

Type parameters

  • E: HTMLElement

Hierarchy

  • CSSTransitionProvidedProps

Index

Properties

Properties

className

className: undefined | string

The current class name based on the provided className options and the state in the transition.

ref

ref: (instance: null | E) => void

Type declaration

    • (instance: null | E): void
    • A ref that must be passed to the element that is triggering a CSS transition change. An error will be thrown if the transition starts, but the ref is still null or the ref was passed to a component instance instead of a DOM node.

      Parameters

      • instance: null | E

      Returns void

Generated using TypeDoc