UNPKG

another-ui

Version:

as the name says, it's another ui library for React built on Tailwind & Shadcn

12 lines (11 loc) 630 B
import type { VariantProps } from 'class-variance-authority'; import type { ReactNode } from 'react'; declare const classes: (props?: ({ size?: "md" | "lg" | "sm" | null | undefined; } & import("class-variance-authority/types").ClassProp) | undefined) => string; export interface CreateIconOptions { className?: string; size?: VariantProps<typeof classes>['size']; } export declare const createIcon: (node: ReactNode, options?: CreateIconOptions) => string | number | boolean | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined; export {};