UNPKG

rharuow-ds

Version:

Modern React Design System with 20 components and auto color system. Define only 2 colors (primary/secondary) and get automatic variations (hover, light, dark) with proper text contrast (WCAG AA). Includes: Table, Card, Button, Chip, Pagination, Input, Te

19 lines (18 loc) 638 B
import * as React from "react"; export interface MultiSelectOption { label: string; value: string; } export interface MultiSelectProps extends React.SelectHTMLAttributes<HTMLDivElement> { name: string; label?: string; options: MultiSelectOption[]; containerClassName?: string; isClearable?: boolean; searchable?: boolean; filterPlaceholder?: string; caseSensitive?: boolean; filterFunction?: (option: MultiSelectOption, searchTerm: string) => boolean; } declare const MultiSelect: React.ForwardRefExoticComponent<MultiSelectProps & React.RefAttributes<HTMLDivElement>>; export { MultiSelect };