Drawer
Import
import { Drawer } from '@resultadosdigitais/tangram-components'
Properties
aria-describedby
Type | string |
---|
Description
Gives the drawer an accessible name by referring to the element that provides the drawer title.
aria-labelledby
Type | string |
---|
Description
Gives the drawer an accessible description by referring to the drawer content that describes the primary message or purpose.
onClose
anchor
size
open
scrim
Type | bool |
---|---|
Default | false |
Description
Modal navigation drawers use a scrim to block interaction with the rest of the app. The scrim is placed directly below the drawer’s sheet and can be tapped or clicked to dismiss the drawer.
<DrawerBody />
Import
import { DrawerBody } from '@resultadosdigitais/tangram-components'
Properties
children
<DrawerHeader />
Import
import { DrawerHeader } from '@resultadosdigitais/tangram-components'
Properties
onDismiss
dismissible
text
Type | string | element |
---|---|
Default | undefined |
Description
Displays the given text as a title.
You get the same result using DrawerTitle
within children.
children
<DrawerTitle />
Import
import { DrawerTitle } from '@resultadosdigitais/tangram-components'