import React from 'react'; import type { PopupProps } from '../popup'; import type { TNode } from '../common'; export type EllipsisPopupProps = PopupProps & { title?: TNode; }; export interface EllipsisProps { content?: string | TNode; children?: string | TNode; popupContent?: string | number | TNode; classPrefix?: string; attach?: () => HTMLElement; /** 透传给 Popup 的属性,如 placement/title/closeBtn 等 */ popupProps?: EllipsisPopupProps; } /** 超出省略,点击溢出内容弹出浮层预览 */ declare function Ellipsis(props: EllipsisProps): React.JSX.Element; declare namespace Ellipsis { var displayName: string; } export default Ellipsis;