List
Importβ
import { List } from '@resultadosdigitais/tangram-components'
Propertiesβ
children
πβ
as
β
forwardedAs
β
listStyleType
β
size
β
alignment
β
bordered
β
<ListDivider />β
Importβ
import { ListDivider } from '@resultadosdigitais/tangram-components'
Propertiesβ
as
β
Type | node | string |
---|
Descriptionβ
Set element type to be rendered for this component. By default it will render a li
element.
forwardedAs
β
Type | node | string |
---|
Descriptionβ
Set element type with new style to be rendered for this component. By default it will render a li
element.
<ListHeader />β
Importβ
import { ListHeader } from '@resultadosdigitais/tangram-components'
Propertiesβ
children
πβ
as
β
Type | node | string |
---|
Descriptionβ
Set element type to be rendered for this component. By default it will render a li
element.
forwardedAs
β
Type | node | string |
---|
Descriptionβ
Set element type with new style to be rendered for this component. By default it will render a li
element.
<ListItem />β
Importβ
import { ListItem } from '@resultadosdigitais/tangram-components'
Propertiesβ
children
πβ
as
β
Type | node | string |
---|
Descriptionβ
Set element type to be rendered for this component. By default it will render a li
element.
active
β
clickable
β
disabled
β
forwardedAs
β
Type | node | string |
---|
Descriptionβ
Set element type with new style to be rendered for this component. By default it will render a li
element.
onClick
β
Type | func |
---|---|
Param | event React.SyntheticEvent - The event source of the callback. |
Descriptionβ
Callback fired when the ListItem is clicked.
role
β
<ListItemAction />β
Importβ
import { ListItemAction } from '@resultadosdigitais/tangram-components'
Propertiesβ
children
β
<ListItemContent />β
Importβ
import { ListItemContent } from '@resultadosdigitais/tangram-components'
Propertiesβ
children
β
mainText
ποΈβ
secondaryText
ποΈβ
mainColor
ποΈβ
Concerns | ποΈ Deprecated |
---|---|
Type | string |
Default | '--neutral-text-high-emphasis' |
Descriptionβ
Sets the main text color.
secondaryColor
ποΈβ
Concerns | ποΈ Deprecated |
---|---|
Type | string |
Default | '--neutral-text-low-emphasis' |
Descriptionβ
Sets the support text color.
<ListItemExtra />β
Importβ
import { ListItemExtra } from '@resultadosdigitais/tangram-components'
Propertiesβ
children
β
left
β
right
β
<ListItemImage />β
Importβ
import { ListItemImage } from '@resultadosdigitais/tangram-components'
Propertiesβ
children
β
<ListItemSelector />β
Importβ
import { ListItemSelector } from '@resultadosdigitais/tangram-components'