react-transitioning-container
React component for easily transitioning your container size based on children.
Installation
Usage
API
<TransitioningContainer> component accepts these following props:
Name | Description | Type |
---|---|---|
duration |
Transition duration in ms. | number |
timingFunction? |
Transition timing function. Default: 'ease' |
string |
children |
Content, which is watched its size | Node|string |
...others |
Other valid attributes to be added to the root div . |
any |