amis-rpc-design/node_modules/antd/lib/typography/Base/Ellipsis.d.ts
2023-10-07 19:42:30 +08:00

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;