foxact
Version:
React Hooks/Utils done right. For browser, SSR, and React Server Components.
7 lines (5 loc) • 470 B
TypeScript
declare function createConverter(units: string, shouldScaleTo?: '16px' | (string & {}) | null, htmlFontSize?: number): (this: void, value: number | string | number[]) => string;
declare const rem: (this: void, value: number | string | number[]) => string;
declare const mantine_rem: (this: void, value: number | string | number[]) => string;
declare const em: (this: void, value: number | string | number[]) => string;
export { createConverter, em, mantine_rem, rem };