@awsui/components-react
Version:
On July 19th, 2022, we launched [Cloudscape Design System](https://cloudscape.design). Cloudscape is an evolution of AWS-UI. It consists of user interface guidelines, front-end components, design resources, and development tools for building intuitive, en
17 lines • 575 B
TypeScript
import React from 'react';
import type { DropdownOption, OptionDefinition } from '../../internal/components/option/interfaces';
interface UseNativeSearchProps {
isEnabled: boolean;
options: ReadonlyArray<DropdownOption>;
highlightOption: (option: DropdownOption) => void;
highlightedOption: OptionDefinition | undefined | null;
useInteractiveGroups?: boolean;
}
export declare function useNativeSearch({
isEnabled,
options,
highlightOption,
highlightedOption,
useInteractiveGroups
}: UseNativeSearchProps): (event: React.KeyboardEvent) => void;
export {};