UNPKG

@bryancode/react-select

Version:

A customizable modular select built for React JS

10 lines (9 loc) 359 B
import { CSSProperties } from "react"; import { OptionInterface, OptionProps } from "."; export interface OptionContainerProps<Option = OptionInterface> { options: Option[]; open?: boolean; style?: CSSProperties; OptionComponent?: (props: Partial<OptionProps>) => JSX.Element; EmptyListComponent?: (props?: any) => JSX.Element; }