SharedElement.Div
Renders a div fragment that animates:
- borderRadius
- background
- position
- size
- shadow
<SharedElement.Div />
Props
Name | type | required | default |
---|---|---|---|
children | Node | true | null |
animationKey | string | true | null |
className | string | false | null |
onClick | function | false | null |