Skip to main content
zerotal

Documentation


Documentation / @zerotal/flow-ui / index / ItemProps

Interface: ItemProps

Defined in: flow-ui/src/components/Item.tsx:22

Indexable

[key: string]: unknown

Properties

icon?

optional icon?: unknown

Defined in: flow-ui/src/components/Item.tsx:24

Leading glyph or avatar.


title?

optional title?: unknown

Defined in: flow-ui/src/components/Item.tsx:25


description?

optional description?: unknown

Defined in: flow-ui/src/components/Item.tsx:27

Supporting line under the title.


action?

optional action?: unknown

Defined in: flow-ui/src/components/Item.tsx:29

Trailing content — a button, a badge, a chevron.


href?

optional href?: string

Defined in: flow-ui/src/components/Item.tsx:31

Makes the whole row a link.


interactive?

optional interactive?: boolean

Defined in: flow-ui/src/components/Item.tsx:33

Show hover feedback even without an href.


selected?

optional selected?: boolean

Defined in: flow-ui/src/components/Item.tsx:35

Mark as the chosen one in a list.


class?

optional class?: string

Defined in: flow-ui/src/components/Item.tsx:36


children?

optional children?: unknown

Defined in: flow-ui/src/components/Item.tsx:37