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'