s-m-r-t
Open the s-m-r-t source on GitHub Switch to dark color scheme
← All UI components

Actions and display

Disclosure

No summary has been written for Disclosure. Everything below is generated from the declaration shipped in 0.44.0 and describes the real contract.

Public export

typescript
import { Disclosure } from '@happyvertical/smrt-ui/ui';
Import path
@happyvertical/smrt-ui/ui
Props
6
Props described
6 of 6
Bindable state
0
Callback events
1
Verified release
0.44.0

Props

NameTypeRequiredDescription
titlestringYesHeader text for the disclosure control.
openbooleanNoWhether the disclosure content is visible.
disabledbooleanNoBlocks opening the disclosure.
childrenSnippetNoThe content shown when the disclosure is open.
onopenchange(open: boolean) => voidNoFired when the open state changes.
classstringNoAdditional CSS class names.

Bindable state

This component has no bindable public state.

Callback events

  • onopenchange(open: boolean) => void

Examples and explanation