A component that cross fades the children.

Parameters:
NameTypeDescription
propsobject

Component props.

Properties
NameTypeDescription
activeIndexnumber

The active index.

childrenJSX.Element

The children to cross fade.

childWrapperAttributesobject

Custom attributes for the child wrapper.

childWrapperClassesstring | Array | object

Custom classes for the child wrapper.

customAttributesobject

Custom attributes for the component.

customClassesstring | Array | object

Custom classes for the component.

durationnumber

The duration of the cross fade.

idstring

The ID of the component.

Since
  • 4.0.3
Returns:

The CrossFade component.

Type: 
JSX.Element