UNPKG

677 BTypeScriptView Raw
1import React, { FunctionComponent, ComponentProps } from 'react';
2export interface ButtonProps {
3 isLink?: boolean;
4 primary?: boolean;
5 secondary?: boolean;
6 tertiary?: boolean;
7 gray?: boolean;
8 inForm?: boolean;
9 disabled?: boolean;
10 small?: boolean;
11 outline?: boolean;
12 containsIcon?: boolean;
13 children?: React.ReactNode;
14}
15declare const ButtonWrapper: import("@emotion/styled-base").StyledComponent<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, ButtonProps, import("@storybook/theming").Theme>;
16export declare const Button: FunctionComponent<ComponentProps<typeof ButtonWrapper>>;
17export {};