Skip to main content

Interface: CollapseProps

@arolariu/components


@arolariu/components / motion/Collapse / CollapseProps

Interface: CollapseProps

Defined in: motion/Collapse.tsx:15

Represents the configurable props for the Collapse component.

Remarks

Extends native <div> attributes so consumers can provide ARIA metadata, testing hooks, and custom classes while keeping the animated container typed.

Extends

  • HTMLAttributes<HTMLDivElement>

Properties

open

open: boolean

Defined in: motion/Collapse.tsx:19

Whether the content is expanded.


children

children: ReactNode

Defined in: motion/Collapse.tsx:23

Content to show or hide with animation.

Overrides

React.HTMLAttributes.children

// was this page useful?