@awsui/components-react
Version:
AWS UI is a collection of [React](https://reactjs.org/) components that help create intuitive, responsive, and accessible user experiences for web applications. It is developed by Amazon Web Services (AWS). This work is available under the terms of the [A
16 lines (15 loc) • 629 B
TypeScript
import { MultiselectProps } from '../interfaces';
import { OptionDefinition } from '../../internal/components/option/interfaces';
import { SelectedTokensProps } from '../../internal/components/selected-tokens';
interface UseSelectedTokens {
(inputProps: {
disabled?: boolean;
tokenLimit?: number;
i18nStrings?: MultiselectProps.I18nStrings;
selectedOptions?: ReadonlyArray<OptionDefinition>;
updateSelectedOption: (option: OptionDefinition) => void;
updateFocus?: () => void;
}): SelectedTokensProps;
}
export declare const useSelectedTokens: UseSelectedTokens;
export {};