@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
35 lines • 1.05 kB
TypeScript
/// <reference types="react" />
import { BaseComponentProps } from '../../base-component';
import { HighlightType } from '../options-list/utils/use-highlight-option';
export type SelectableItemProps = BaseComponentProps & {
children: React.ReactNode;
selected?: boolean;
highlighted?: boolean;
disabled?: boolean;
hasBackground?: boolean;
isParent?: boolean;
isChild?: boolean;
virtualPosition?: number;
padBottom?: boolean;
isNextSelected?: boolean;
useInteractiveGroups?: boolean;
screenReaderContent?: string;
ariaPosinset?: number;
ariaSetsize?: number;
highlightType?: HighlightType['type'];
ariaDescribedby?: string;
value?: string;
} & ({
ariaSelected?: boolean;
ariaChecked?: never;
} | {
ariaSelected?: never;
ariaChecked?: boolean | 'mixed';
});
export interface ItemDataAttributes {
'data-group-index'?: string;
'data-child-index'?: string;
'data-in-group-index'?: string;
'data-test-index'?: string;
}
//# sourceMappingURL=interfaces.d.ts.map