Skip to content

Properties

PropertyTypeDescription
openboolean(optional) Set to true on second re-render when the view should animate from 0px to auto. Defaults to true.
animateboolean(optional) Set to false to omit the animation. Defaults to true.
keepInDOMboolean(optional) Set to true ensure the nested children content will be kept in the DOM. Defaults to false.
compensateForGapstring(optional) To compensate for CSS gap between the rows so animation not jumps during the animation. Provide a CSS unit or auto. Defaults to null.
showOverflowboolean(optional) Set to true to omit the usage of "overflow: hidden;". Defaults to false.
durationnumber(optional) Custom duration of the animation in milliseconds. Defaults to 400ms.
delaynumber(optional) Custom delay of the animation in milliseconds. Defaults to 0ms.
elementstring(optional) Custom HTML element for the component. Defaults to div HTML Element.
innerRefReact.RefObject(optional) Send along a custom React Ref.
Spacestring
object
(optional) spacing properties like top or bottom are supported.