Components
Truncated Text
The Truncated Text component is used for conditional tooltip with truncated text.
Import
import { TruncatedText } from '@outfit/outkit';
Basic Usage
Vertical Truncation
Best Practice
Used for show more information from truncated text
Props
| Name | Type | Default | Description |
|---|---|---|---|
| toolTipProps | object | Props to parsing to Tooltip component | |
| noOfLines | number | If exist, the type of truncation will be vertical. Specify the number of lines noOfLines={3} |