Skip to main content

Interface: ListItemProps

Defined in: workingtitle-instruments-epic2/shared/Components/List/ListItem.tsx:8

The props for ListItem.

Extends

Properties

children?

optional children: DisplayChildren[]

Defined in: sdk/components/FSComponent.ts:122

The children of the display component.

Inherited from

ComponentProps.children


class?

optional class: string | SubscribableSet<string>

Defined in: workingtitle-instruments-epic2/shared/Components/List/ListItem.tsx:28

CSS class(es) to apply to the list item div element.


hideBorder?

optional hideBorder: boolean | Subscribable<boolean>

Defined in: workingtitle-instruments-epic2/shared/Components/List/ListItem.tsx:13

Hides the list item border, allowing the content to easily fill the entire space of the list-item. Defaults to false.


isVisible?

optional isVisible: boolean | Subscribable<boolean>

Defined in: workingtitle-instruments-epic2/shared/Components/List/ListItem.tsx:22

Controls the list item's visibility. Defaults to true.


onDestroy()?

optional onDestroy: () => void

Defined in: workingtitle-instruments-epic2/shared/Components/List/ListItem.tsx:25

A callback function to execute when the list item is destroyed.

Returns

void


paddedListItem?

optional paddedListItem: boolean | Subscribable<boolean>

Defined in: workingtitle-instruments-epic2/shared/Components/List/ListItem.tsx:19

Adds some default, commonly used padding to the list item. Defaults to false.


ref?

optional ref: NodeReference<any>

Defined in: sdk/components/FSComponent.ts:125

A reference to the display component.

Inherited from

ComponentProps.ref