UNPKG

another-ui

Version:

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

15 lines (14 loc) 617 B
import type { VariantProps } from 'class-variance-authority'; import { type ReactNode } from 'react'; import { getInputClasses } from './libs/getInputClasses'; export type InputVariants = VariantProps<typeof getInputClasses>; export type InputProps = React.ComponentProps<'input'> & { prefixIcon?: ReactNode; suffixIcon?: ReactNode; containerClassName?: string; hasError?: boolean; helperText?: string; helperTextClassName?: string; }; declare const Input: import("react").ForwardRefExoticComponent<Omit<InputProps, "ref"> & import("react").RefAttributes<HTMLInputElement>>; export { Input };