Collapsible
orhun starred 3 repositories
ClickHouse/NoiSQL
Example
import { Collapsible } from '@i4o/catalystui'
export default () => {
return (
<DemoCard>
<Collapsible
first={<span>First Item</span>}
title='Are you sure?'
trigger={<IconButton icon={<RowSpacingIcon />} />}
/>
</DemoCard>
)
}Props
| Name | Type | Default | Description |
|---|---|---|---|
| first | ReactNode | First element of the collapsible. It will always be visible. | |
| items | ReactNode[] | List of elements in the collapsible. | |
| title | string | ReactNode | The title of the collapsible. | |
| trigger | string | ReactNode | The trigger button. |