@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
37 lines • 1.06 kB
TypeScript
import React from 'react';
import { DropdownOption } from '../../internal/components/option/interfaces';
import { HighlightType } from '../../internal/components/options-list/utils/use-highlight-option';
import { VirtualItem } from '../../internal/vendor/react-virtual';
interface RenderOptionProps {
options: ReadonlyArray<DropdownOption>;
getOptionProps: any;
filteringValue: string;
highlightType: HighlightType;
idPrefix: string;
checkboxes?: boolean;
hasDropdownStatus?: boolean;
virtualItems?: VirtualItem[];
useInteractiveGroups?: boolean;
screenReaderContent?: string;
ariaSetsize?: number;
withScrollbar: boolean;
firstOptionSticky?: boolean;
stickyOptionRef?: React.Ref<HTMLDivElement>;
}
export declare const renderOptions: ({
options,
getOptionProps,
filteringValue,
highlightType,
idPrefix,
checkboxes,
hasDropdownStatus,
virtualItems,
useInteractiveGroups,
screenReaderContent,
ariaSetsize,
withScrollbar,
firstOptionSticky,
stickyOptionRef
}: RenderOptionProps) => JSX.Element[];
export {};