Skip to content

Ellipsis

Ellipsis

jsx
import Ellipsis from 'intergalactic/ellipsis';
<Ellipsis />;
import Ellipsis from 'intergalactic/ellipsis';
<Ellipsis />;

EllipsisProps

& Partial<> & {...}
NameTypeDescription
maxLinenumber Rows count in multiline Ellipsis
trim"end" | "middle" Trimming type
tooltipboolean Show tooltip
containerRefRefObject< | null> Ref to the item that will be observed by ResizeObserver
containerRect {width: number } Explicit sizes of container text should be trimmed in
includeTooltipPropsstring[] List of props that will be passed to tooltip

Released under the MIT License.

Released under the MIT License.