@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
25 lines • 866 B
TypeScript
import React from 'react';
import { ButtonProps } from '../../button/interfaces';
import { IconProps } from '../../icon/interfaces';
export interface TriggerButtonProps {
ariaLabel?: string;
className?: string;
iconName?: IconProps.Name;
iconSvg?: React.ReactNode;
ariaExpanded: boolean | undefined;
ariaControls?: string;
disabled?: boolean;
/**
* Ovewrwrites any internal testIds when provided
*/
testId?: string;
/**
* If button is selected. Used only for desktop and applies a selected class for desktop. Mobile does not need the class as the trigger buttons are hidden by the open drawer
*/
selected?: boolean;
onClick: () => void;
badge?: boolean;
highContrastHeader?: boolean;
}
declare const _default: React.ForwardRefExoticComponent<TriggerButtonProps & React.RefAttributes<ButtonProps.Ref>>;
export default _default;