Collapse
Simple expand / collapse component with animations via framer-motion.
Examples
API
Prop | Description | Default |
---|---|---|
expanded | Whether the collapse is expanded or not.boolean | |
children | Children to render.ReactNode | (() => ReactNode) | |
theme | Theme for the Collapse.CollapseTheme |