Closable Tabs
The TabStrip enables you to render a close button inside its tabs.
You can enable this behavior for all tabs by using the closable
option of the TabStrip, or for each individual tab through the closable
option of the TabStripTab
component.
The following example demonstrates how to configure closable tabs.
Custom Close Button Icon
The TabStrip provides an option for customizing the icon inside the close buttons of the tabs. You can set a specific icon for all close buttons by using the closeIcon
option of the TabStrip, or for each individual tab through the closeIcon
option of the TabStripTab
component.
The following example demonstrates how to render custom close button icons.