UNPKG

@bottledbrains/ui

Version:

A React UI library based on Tailwind CSS

16 lines (15 loc) 440 B
import { FC } from "react"; import { CommonProps } from "../../types"; export interface SelectOption { key: string; content: string; } export interface ScrollSelectorProps extends CommonProps { name?: string; options: SelectOption[]; value: string | string[]; onChange: (val: string | string[]) => void; multiple?: boolean; } declare const ScrollSelector: FC<ScrollSelectorProps>; export default ScrollSelector;