UNPKG

react-ui89

Version:

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

20 lines (19 loc) 654 B
import React from "react"; import "../style/text.css"; export interface Ui89InputCheckListPropsRenderOption<T> { option: T; index: number; } export interface Ui89InputCheckListProps<T> { value: T[]; onChange?: (value: T[]) => void; getValueKey?: (row: T) => string; options: T[]; renderOption?: (props: Ui89InputCheckListPropsRenderOption<T>) => React.ReactNode; onSelect?: (option: T) => void; onDeselect?: (option: T) => void; optionHeight?: number; maxHeight?: string; } export declare function Ui89InputCheckList<T>(props: Ui89InputCheckListProps<T>): React.JSX.Element; export default Ui89InputCheckList;