Custom Rendering
The MultiSelect provides options for customizing the way it renders its elements.
The MultiSelect utilizes custom renderers which enable you to moderate the content of its:
Items
To customize the content of each suggestion list item, use the itemRender
prop.
The following example demonstrates how to set the itemRender
prop of the MultiSelect and customize the list elements.
Tags
To customize the content of each tag, use the tagRender
prop.
The following example demonstrates how to set the tagRender
prop of the MultiSelect and customize the tags elements.
Headers and Footers
To set a header
or a footer
element in the items popup of the MultiSelect, use the header
and footer
props.
No Data
To customize the content of the suggestion list when no data is present, use the listNoDataRender
prop.