Skip to main content

Interface: PresenceProps

@arolariu/components


@arolariu/components / motion/Presence / PresenceProps

Interface: PresenceProps

Defined in: motion/Presence.tsx:9

Represents the configurable props for the Presence component.

Properties​

present​

present: boolean

Defined in: motion/Presence.tsx:13

Whether the child should be mounted and visible.


children​

children: ReactNode

Defined in: motion/Presence.tsx:17

The animated child element.


mode?​

optional mode?: "wait" | "sync" | "popLayout"

Defined in: motion/Presence.tsx:22

AnimatePresence mode.

Default​

"sync"
// was this page useful?