UNPKG

@coreui/react-pro

Version:

UI Components Library for React.js

14 lines (13 loc) 599 B
import React, { HTMLAttributes } from 'react'; import type { Search, SelectedOption } from './types'; export interface CMultiSelectSelectionProps extends HTMLAttributes<HTMLSpanElement> { 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>>;