@codeworker.br/govbr-tw-react
Version:
Biblioteca de componentes React usando Tailwind CSS que implementa o Padrão Digital de Governo.
16 lines (15 loc) • 489 B
TypeScript
import { VariantProps } from "class-variance-authority";
import selectVariants from "./variants";
import { ComponentProps, FC } from "react";
interface NativeSelectProps extends ComponentProps<"select">, VariantProps<typeof selectVariants> {
options?: any[];
firstOption?: string;
selected?: any;
mapTo?: {
label: string;
value: string;
};
hideFirstOption?: boolean;
}
declare const NativeSelect: FC<NativeSelectProps>;
export default NativeSelect;