Optional
className?: stringOptional.
Optional
extra?: ReactElement<unknown, string | JSXElementConstructor<any>>used to display other react components in a list item.
Optional
onClick?: (() => void) | (() => Promise<void>)the function which is called when the list element is clicked.
Optional
text?: stringif is supplied then the list element will contain just a text.
Custom list element component.