grow
v4.9.10arrow_drop_downA single child content element.
If true
, show the component; triggers the enter or exit animation.
The duration for the transition, in milliseconds. You may specify a single timeout for all transitions, or individually with an object.
Set to ‘auto’ to automatically calculate transition time based on height.
The Grow transition is used by the Tooltip and Popover components. It uses react-transition-group internally. Demos:
API:
- Grow API
- inherits Transition API
The Grow transition is used by the Tooltip and Popover components. It uses react-transition-group internally.
Name | Type | Description |
---|---|---|
children | element | A single child content element. |
in | bool | If |
onEnter | function | |
onExit | function | |
style | object | |
timeout | 'auto' | number | {"appear":"number","enter":"number","exit":"number"} | The duration for the transition, in milliseconds. You may specify a single timeout for all transitions, or individually with an object. Set to ‘auto’ to automatically calculate transition time based on height. |