UNPKG

844 BTypeScriptView Raw
1import * as React from 'react';
2export interface DropdownToggleActionProps {
3 /** Additional classes added to the DropdownToggleAction */
4 className?: string;
5 /** Flag to show if the action button is disabled */
6 isDisabled?: boolean;
7 /** A callback for when the action button is clicked */
8 onClick?: (event: React.MouseEvent<HTMLButtonElement>) => void;
9 /** Element to be rendered inside the <button> */
10 children?: React.ReactNode;
11 /** Id of the action button */
12 id?: string;
13 /** Aria-label of the action button */
14 'aria-label'?: string;
15}
16export declare class DropdownToggleAction extends React.Component<DropdownToggleActionProps> {
17 static displayName: string;
18 static defaultProps: DropdownToggleActionProps;
19 render(): JSX.Element;
20}
21//# sourceMappingURL=DropdownToggleAction.d.ts.map
\No newline at end of file