UNPKG

tdesign-react

Version:
20 lines (19 loc) 569 B
import { TNode } from '../common'; import { TooltipProps } from '../tooltip'; export interface EllipsisProps { content?: string | TNode; children?: string | TNode; popupContent?: string | number | TNode; placement?: TooltipProps['placement']; attach?: () => HTMLElement; tooltipProps?: TooltipProps; zIndex?: number; overlayClassName?: string; classPrefix?: string; } /** 超出省略显示 */ declare function Ellipsis(props: EllipsisProps): any; declare namespace Ellipsis { var displayName: string; } export default Ellipsis;