UNPKG

react-ui89

Version:

A collection of React components that mimic a common style of user interfaces from the late 80s and early 90s.

23 lines (22 loc) 742 B
import React from "react"; import "../style/input-box.css"; export interface Ui89InputSelectMultiCheckPropsRenderOption<T> { option: T; index: number; } export interface Ui89InputSelectMultiCheckProps<T> { value: T[]; onChange?: (value: T[]) => void; options: T[]; getValueKey?: (row: T) => string; renderOption?: (props: Ui89InputSelectMultiCheckPropsRenderOption<T>) => React.ReactNode; placeholder?: string; renderDisplay?: (props: { value: T[]; }) => string; maxHeight?: string; optionHeight?: number; search?: boolean; onSearch?: (search: string) => void; } export declare function Ui89InputSelectMultiCheck<T>(props: Ui89InputSelectMultiCheckProps<T>): React.JSX.Element;