Skip to main content

useHeightTransition

Parameter list

PositionTypeDescription
#1TransitionStateThe item state returned from useAccordionItemEffect.

Return tuple

PositionTypeDescription
#1CSSPropertiesA style object to be applied to the content element.
#2objectA React ref object to be attached to the panel element.