UNPKG

@bryancode/react-select

Version:

A customizable modular select built for React JS

9 lines (8 loc) 237 B
import { OptionInterface } from "."; export interface OptionProps<Option = OptionInterface> { value: Option; index: number; options: Option[]; selected?: boolean; onOptionSelected?: (value: Option) => void; }