UNPKG

@thehappycoder/react-responsive-pagination

Version:
13 lines (12 loc) 430 B
/// <reference types="react" /> import { ViewComponent } from '../../../view'; import { WidthCalculator } from './widthCalculator'; export declare function useWidthCalculator(view: ViewComponent): RenderNeededResult | CalculatorResult; declare type RenderNeededResult = { measuringComponentNeedsRender: JSX.Element; }; declare type CalculatorResult = { getWidth: WidthCalculator; clearCache: () => void; }; export {};