SharedElement.Div

Renders a div fragment that animates:

  • borderRadius
  • background
  • position
  • size
  • shadow
<SharedElement.Div />

Props

Nametyperequireddefault
childrenNodetruenull
animationKeystringtruenull
classNamestringfalsenull
onClickfunctionfalsenull