UNPKG

@capgeminiuk/dcx-react-library

Version:

[![CircleCI](https://circleci.com/gh/Capgemini/dcx-react-library.svg?style=svg)](https://circleci.com/gh/Capgemini/dcx-react-library)

38 lines (37 loc) 940 B
import React from 'react'; import { MultiSelectOption } from '../Types'; export type SelectedProps = { /** * Selected select value */ select: MultiSelectOption; /** * Selected select ariaLabel */ ariaLabel?: string; /** * Selected select className */ className?: string; /** * Selected select label class name */ labelClassName?: string; /** * Selected select remove class name */ removeButtonClassName?: string; /** * Selected select styling */ style?: React.CSSProperties; /** * Selected select remove handler */ onRemove?: (select: MultiSelectOption) => void; /** * Selected select focus handler */ onFocus?: () => void; }; export declare const Selected: ({ select, ariaLabel, className, labelClassName, removeButtonClassName, style, onFocus, onRemove, }: SelectedProps) => React.JSX.Element;