UNPKG

@alephium/web3-react

Version:
15 lines (14 loc) 490 B
type TLogLevel = 'debug' | 'info' | 'warn' | 'error' | 'none'; type TOptions = { logLevel?: TLogLevel; maxFontSize?: number; minFontSize?: number; onFinish?: (fontSize: number) => void; onStart?: () => void; resolution?: number; }; declare const useFitText: ({ logLevel: logLevelOption, maxFontSize, minFontSize, onFinish, onStart, resolution }?: TOptions) => { fontSize: number; ref: import("react").RefObject<HTMLDivElement>; }; export default useFitText;