Text Truncate
The textTruncate
functionality is a feature within a menu item and submenu that allows for the truncation of text that exceeds the available space. The textTruncate
prop is used to truncate the text. By default the text is truncated with an ellipsis. textTruncate
prop provides the flexibility to disable the truncation by setting it to false.
Props
textTruncat?: boolean
Default Value
textTruncate={true}
Example
/horizontal-menu/menu/text-truncate
Source Code