@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
12 lines (11 loc) • 395 B
TypeScript
interface ListItem {
type?: string;
}
interface TestIndexes {
throughIndex?: number;
groupIndex?: number;
inGroupIndex?: number;
}
export declare const getTestOptionIndexes: <T extends ListItem>(item: T) => TestIndexes | undefined;
export declare const generateTestIndexes: <T extends ListItem>(filteredItems: T[], getParentGroup: (item: T) => T | undefined) => void;
export {};