@itgold/grandbazar-ui-kit
Version:
Grandbazar.io UI component library: React, Typescript, Tailwind, Rollup, Storybook, Jest.
15 lines (14 loc) • 528 B
TypeScript
import { ChangeEventHandler, HTMLInputTypeAttribute, ReactNode } from 'react';
type TFormProps = {
position: 'left' | 'right';
label: ReactNode;
placeholder?: string;
theme?: 'dark' | 'light';
type: HTMLInputTypeAttribute;
disabled?: boolean;
className?: string;
id?: string;
onChange: ChangeEventHandler;
};
export declare function InputLabel({ position, label, id, className, onChange, disabled, type, theme, placeholder, }: TFormProps): import("react/jsx-runtime").JSX.Element;
export {};