13 lines
395 B
TypeScript
13 lines
395 B
TypeScript
import * as React from 'react';
|
|
export interface EllipsisProps {
|
|
enabledMeasure?: boolean;
|
|
text?: React.ReactNode;
|
|
width: number;
|
|
fontSize: number;
|
|
rows: number;
|
|
children: (cutChildren: React.ReactNode[], needEllipsis: boolean) => React.ReactNode;
|
|
onEllipsis: (isEllipsis: boolean) => void;
|
|
}
|
|
declare const Ellipsis: React.FC<EllipsisProps>;
|
|
export default Ellipsis;
|