UNPKG

@wordpress/widget-dashboard

Version:

Stateless rendering engine for widget dashboards: the WidgetDashboard compound component and its grid-settings kit.

9 lines • 393 B
/** * Whether a single-line element clips its text: the ref to observe, then the * answer. * * @param reclaim Width a control shown only while clipped gives back, so it * cannot keep the text clipped. */ export declare function useIsTruncated<T extends HTMLElement>(reclaim?: number): [(element?: T | null) => void, boolean]; //# sourceMappingURL=use-is-truncated.d.ts.map