tailwind-joy
Version:
React component library that styles the components of Joy UI in the Tailwind CSS way.
10 lines (9 loc) • 518 B
TypeScript
import type { ReactNode } from 'react';
import type { BaseVariants, GeneratorInput } from '../../base/types';
export declare function adaptClassName(node: ReactNode, className: string): ReactNode;
export declare function iconClassVariants(props?: Pick<BaseVariants, 'color' | 'size'>): string;
/**
* A shortcut for the `adaptClassName` function.
*/
export declare function adaptAsIcon(node: ReactNode, props?: Pick<BaseVariants, 'color' | 'size'>): ReactNode;
export declare const generatorInputs: GeneratorInput[];