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'