UNPKG

604 BTypeScriptView Raw
1import React, { FunctionComponent, MouseEvent } from 'react';
2export declare const ActionButton: import("@emotion/styled-base").StyledComponent<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, {
3 disabled: boolean;
4}, import("@storybook/theming").Theme>;
5export interface ActionItem {
6 title: string | JSX.Element;
7 className?: string;
8 onClick: (e: MouseEvent<HTMLButtonElement>) => void;
9 disabled?: boolean;
10}
11export interface ActionBarProps {
12 actionItems: ActionItem[];
13}
14export declare const ActionBar: FunctionComponent<ActionBarProps>;