Ellipsis
Ellipsis
jsx
import Ellipsis from '@semcore/ui/ellipsis';
<Ellipsis />;
EllipsisProps
& Partial<> & {...}Name | Type | Description |
---|---|---|
maxLine | number | Rows count in multiline Ellipsis |
trim | "end" | "middle" | Trimming type |
tooltip | boolean | Show tooltip |
containerRef | RefObject< | null> | Ref to the item that will be observed by ResizeObserver |
containerRect | {width: number } | Explicit sizes of container text should be trimmed in |
includeTooltipProps | string[] | List of props that will be passed to tooltip |