@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
15 lines • 529 B
TypeScript
import React from 'react';
interface GetMenuItemPropsParams {
disabled: boolean;
parent?: boolean;
expanded?: boolean;
}
/**
* @returns attributes for a menuitem widget given parameters
*/
export declare const getMenuItemProps: (params: GetMenuItemPropsParams) => React.HTMLProps<HTMLElement>;
interface GetMenuItemCheckboxPropsParams extends GetMenuItemPropsParams {
checked: boolean;
}
export declare const getMenuItemCheckboxProps: (params: GetMenuItemCheckboxPropsParams) => React.HTMLProps<HTMLElement>;
export {};