antd-mobile
Version:
<img src="https://gw.alipayobjects.com/mdn/rms_ee68a8/afts/img/A*hjjDS5Yy-ooAAAAAAAAAAAAAARQnAQ" alt="logo" width="100%" />
14 lines (13 loc) • 540 B
TypeScript
import React, { FC } from 'react';
import { NativeProps } from '../../utils/native-props';
import { PropagationEvent } from '../../utils/with-stop-propagation';
export declare type EllipsisProps = {
content: string;
direction?: 'start' | 'end' | 'middle';
rows?: number;
expandText?: string;
collapseText?: string;
stopPropagationForActionButtons?: PropagationEvent[];
onContentClick?: (e: React.MouseEvent<HTMLDivElement, MouseEvent>) => void;
} & NativeProps;
export declare const Ellipsis: FC<EllipsisProps>;