UNPKG

@itgold/grandbazar-ui-kit

Version:

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

13 lines (12 loc) 442 B
import { ChangeEventHandler, HTMLInputTypeAttribute } from 'react'; type TInputProps = { placeholder?: string; disabled?: boolean; type: HTMLInputTypeAttribute; onChange: ChangeEventHandler; theme?: 'dark' | 'light'; id?: string; className?: string; }; export declare function Input({ placeholder, id, className, theme, onChange, disabled, type }: TInputProps): import("react/jsx-runtime").JSX.Element; export {};