UNPKG

@wonderflow/react-components

Version:

UI components from Wonderflow's Wanda design system

20 lines 605 B
import { ReactNode } from 'react'; import { Polymorphic } from '../..'; export declare type ClampTextProps = { /** * The text content to be displayed and clamped */ children: ReactNode; /** * Define how many lines the text should be clamped to. */ rows?: number; /** * Show the full text when element is hovered with pointer. */ expandable?: boolean; }; declare type PolymorphicClampText = Polymorphic.ForwardRefComponent<'div', ClampTextProps>; export declare const ClampText: PolymorphicClampText; export {}; //# sourceMappingURL=clamp-text.d.ts.map