T

ListRowProps

Props for ListRow.

type ListRowProps = { … }

Members

Text shown under the group; none when omitted.

disabled?boolean

Dims the row and ignores input. Defaults to false.

maxItems?number

The most strings the list holds; none when omitted.

onChange(value: string[]) => void

Called with the new list after each add, remove or move.

titlestring

The group's title.

validate?(text: string) => string | undefined

Returns why a string cannot be added, or undefined when it can.

valuestring[]

The saved strings, in order.