UNPKG

prosperita-dumbo-react

Version:

**Dumbo React** é uma biblioteca de componentes React que facilita a manipulação de propriedades em seus componentes. Ela fornece uma forma simples e eficiente de gerenciar e manipular props, tornando seu código mais limpo e fácil de manter.

28 lines 873 B
import { InputHTMLAttributes, ReactNode } from "react"; type OptionType = { label: string; value: string; }; export type DropdownProps = Omit<InputHTMLAttributes<HTMLInputElement>, "size"> & { options: OptionType[]; placeholder?: string; show?: boolean; onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void; size: "large" | "small" | "medium"; kind: "default" | "fluid"; borderlastnone?: boolean; error?: boolean; warning?: boolean; disabled?: boolean; readOnly?: boolean; label?: string; message?: string; loading?: boolean; noRadius?: boolean; icon?: ReactNode; borderNone?: boolean; clearFiles?: boolean; }; export declare const Dropdown: (props: DropdownProps) => import("react/jsx-runtime").JSX.Element; export {}; //# sourceMappingURL=index.d.ts.map