tailwindcss-react-select
Version:
A select input made with React js and Tailwind CSS
15 lines (14 loc) • 416 B
TypeScript
import React from "react";
import { Option, Options as ListOption } from "./type";
interface OptionsProps {
list: ListOption;
noOptionsMessage: string;
isCreatable: boolean;
onCreate?: (value: string) => Promise<string>;
text: string;
isMultiple: boolean;
value: Option | Option[] | null;
primaryColor: string;
}
declare const Options: React.FC<OptionsProps>;
export default Options;