amis-rpc-design/node_modules/antd/lib/typography/Base/Ellipsis.d.ts

13 lines
395 B
TypeScript
Raw Normal View History

2023-10-07 19:42:30 +08:00
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;