Skip to content

ListComponent.formatItem method

ListComponent › formatItem

Formats an item for display.

Signature:

formatItem(item: string): string

Parameters:

ParameterTypeDescription
itemstringThe item.

Returns: string — The text shown for it.