UNPKG

@coreui/react-pro

Version:

UI Components Library for React.js

15 lines (14 loc) 632 B
import React, { HTMLAttributes } from 'react'; import type { Search, SelectedOption } from './types'; export interface CMultiSelectSelectionProps extends HTMLAttributes<HTMLSpanElement> { ariaTagDeleteLabel?: string; disabled?: boolean; multiple?: boolean; onRemove?: (option: SelectedOption) => void; placeholder?: string; search?: Search; selected?: SelectedOption[]; selectionType?: 'counter' | 'tags' | 'text'; selectionTypeCounterText?: string; } export declare const CMultiSelectSelection: React.ForwardRefExoticComponent<CMultiSelectSelectionProps & React.RefAttributes<HTMLSpanElement>>;