@capgeminiuk/dcx-react-library
Version:
[](https://circleci.com/gh/Capgemini/dcx-react-library)
38 lines (37 loc) • 940 B
TypeScript
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;