UNPKG

hoda-react

Version:

<div align="center"> <h1>:construction: flowbite-react (unreleased) :construction:</h1> <p> <a href="https://flowbite-react.com"> <img alt="Flowbite - Tailwind CSS components" width="350" src=".github/assets/flowbite-react-github.png"> <

22 lines (21 loc) 777 B
import type { ComponentProps, ReactNode } from 'react'; import { DeepPartial } from '..'; import type { TextInputColors, TextInputSizes } from '../TextInput'; export interface FlowbiteFileInputTheme { base: string; field: { base: string; input: { base: string; sizes: TextInputSizes; colors: TextInputColors; }; }; } export interface FileInputProps extends Omit<ComponentProps<'input'>, 'type' | 'ref' | 'color'> { sizing?: keyof TextInputSizes; helperText?: ReactNode; color?: keyof TextInputColors; theme?: DeepPartial<FlowbiteFileInputTheme>; } export declare const FileInput: import("react").ForwardRefExoticComponent<FileInputProps & import("react").RefAttributes<HTMLInputElement>>;