UNPKG

@alicloud/console-components-truncate

Version:

React component for Alibaba Cloud.

19 lines (18 loc) 692 B
import { ReactNode, CSSProperties, MutableRefObject } from 'react'; import type { BalloonProps } from '@alicloud/console-components'; interface IProps { children: ReactNode; threshold: number | string; omission: ReactNode; showTooltip: boolean; align: BalloonProps['align']; className?: string; tooltipMaxWidth?: number; updaterRef?: MutableRefObject<(() => void) | null>; isOverflowChange?: (newIsOverflow: boolean) => void; popupStyle?: CSSProperties; popupClassName?: string; patchPopupProps?: (originalProps: BalloonProps) => BalloonProps; } export default function TruncateByWidth(props: IProps): JSX.Element; export {};