UNPKG

@starter-ui/core

Version:

This is a UI Components built with the utility classes from Tailwind CSS.

38 lines (37 loc) 996 B
import { ReactNode } from 'react'; export interface ISelectOptionType { value: string; name: ReactNode | string; color?: string; descriptions?: ReactNode | string; disabled?: boolean; isChildren?: boolean; level?: number; className?: string; } export interface Props { id?: string; options: ISelectOptionType[]; values?: string[]; placeholder?: string; isLoading?: boolean; disabled?: boolean; required?: boolean; isError?: boolean; label?: string; helperText?: string; clearable?: boolean; position?: 'top' | 'bottom'; color?: string; radius?: string; size?: string; selectorIcon?: ReactNode; className?: string; labelClassName?: string; buttonClassName?: string; contentClassName?: string; onChange?: (selectedValues: string[], selectedItems: ISelectOptionType[]) => void; onBlur?: () => void; } declare const SelectMultiple: React.FC<Props>; export default SelectMultiple;