reverie-ui
Version:
A React UI library based on Tailwind CSS
11 lines (10 loc) • 357 B
TypeScript
import { FC } from "react";
import { CommonProps, SelectOption } from "../../types";
export interface OptionListProps extends CommonProps<HTMLUListElement> {
options: SelectOption[];
value: string[];
onChange: (val: string[]) => void;
multiple?: boolean;
}
declare const OptionList: FC<OptionListProps>;
export default OptionList;