useHeightTransition
Parameter list
Position | Type | Description |
---|---|---|
#1 | TransitionState | The item state returned from useAccordionItemEffect. |
Return tuple
Position | Type | Description |
---|---|---|
#1 | CSSProperties | A style object to be applied to the content element. |
#2 | object | A React ref object to be attached to the panel element. |