UNPKG

@coin-voyage/paykit

Version:

Seamless crypto payments. Onboard users from any chain, any coin into your app with one click.

13 lines (12 loc) 389 B
export type TOptions = { maxFontSize?: number; minFontSize?: number; onFinish?: (fontSize: number) => void; onStart?: () => void; resolution?: number; }; declare const useFitText: ({ maxFontSize, minFontSize, onFinish, onStart, resolution }?: TOptions) => { fontSize: number; ref: import("react").RefObject<HTMLDivElement | null>; }; export default useFitText;