UNPKG

@itgold/grandbazar-ui-kit

Version:

Grandbazar.io UI component library: React, Typescript, Tailwind, Rollup, Storybook, Jest.

14 lines (12 loc) 414 B
import { TInputSizes, TInputThemes } from '@/components/inputs/types'; export type TInputProps = React.ComponentPropsWithRef<'input'> & { onChange: (value: string) => void; onBlur?: (value: string) => void; onFocus?: (value: string) => void; error: boolean; autoFocus?: boolean; theme: TInputThemes; customSize: TInputSizes; rightAdornment?: React.ReactNode; leftAdornment?: React.ReactNode; };