UNPKG

@cap3/capitano-components

Version:
21 lines 779 B
/// <reference types="react" /> import { CapitanoTheme } from "@cap3/capitano-theme"; import { FormElementRadius, FormElementSize } from "../basics/formElementHelpers"; export declare enum ButtonType { primary = "primary", secondary = "secondary", success = "success", danger = "danger" } declare type Props = { fixed?: boolean; type?: ButtonType; radius?: FormElementRadius; size?: FormElementSize; square?: boolean; outline?: boolean; disabled?: boolean; }; export declare const Button: import("create-emotion-styled/types/react").StyledOtherComponent<Props, import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, CapitanoTheme>; export {}; //# sourceMappingURL=Button.d.ts.map