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"> <
17 lines (16 loc) • 724 B
TypeScript
import type { ComponentProps, ReactNode } from 'react';
import type { FlowbiteBoolean, FlowbiteColors } from '../Flowbite/FlowbiteTheme';
export interface FlowbiteTextareaTheme {
base: string;
colors: TextareaColors;
withShadow: FlowbiteBoolean;
}
export interface TextareaColors extends Pick<FlowbiteColors, 'gray' | 'info' | 'failure' | 'warning' | 'success'> {
[key: string]: string;
}
export interface TextareaProps extends Omit<ComponentProps<'textarea'>, 'color' | 'ref'> {
shadow?: boolean;
helperText?: ReactNode;
color?: keyof TextareaColors;
}
export declare const Textarea: import("react").ForwardRefExoticComponent<TextareaProps & import("react").RefAttributes<HTMLTextAreaElement>>;