@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
14 lines (13 loc) • 505 B
TypeScript
import { DropdownOption } from '../../internal/components/option/interfaces';
import { SelectProps } from '../interfaces';
interface UseAnnouncement {
(inputProps: {
announceSelected: boolean;
highlightedOption?: DropdownOption;
parentMap: Map<DropdownOption, DropdownOption>;
selectedAriaLabel?: string;
renderHighlightedAriaLive?: SelectProps.ContainingOptionAndGroupString;
}): string;
}
export declare const useAnnouncement: UseAnnouncement;
export {};