UNPKG

@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

31 lines 1.16 kB
import React from 'react'; import { OptionsListProps } from '../internal/components/options-list'; import { AutosuggestItem } from './interfaces'; import { AutosuggestItemsState } from './options-controller'; export interface ListProps { autosuggestItemsState: AutosuggestItemsState; menuProps: Omit<OptionsListProps, 'children'>; handleLoadMore: () => void; highlightedA11yProps: Record<string, string | number | boolean>; hasDropdownStatus?: boolean; highlightText: string; listBottom?: React.ReactNode; screenReaderContent?: string; } export declare const getOptionProps: (index: number, item: AutosuggestItem, filteredItems: readonly AutosuggestItem[], highlightedA11yProps: ListProps["highlightedA11yProps"], highlightedOption?: AutosuggestItem, hasDropdownStatus?: boolean) => { className?: string; id?: string; nativeAttributes: Record<string, string | number | boolean>; padBottom: boolean; }; declare const PlainList: ({ autosuggestItemsState, handleLoadMore, menuProps, highlightedA11yProps, hasDropdownStatus, highlightText, listBottom, screenReaderContent }: ListProps) => JSX.Element; export default PlainList;