UNPKG

@dolaanpls/react-awesome-button

Version:

Performant, extendable, highly customisable, production ready React Component that renders an animated basic set of UI buttons

34 lines (33 loc) 1.32 kB
import React from 'react'; import { ComponentMeta } from '@storybook/react'; declare const _default: ComponentMeta<({ onPress, rootElement, loadingLabel, resultLabel, disabled, cssModule, children, size, type, releaseDelay, ...extra }: import("../components/AwesomeButtonProgress").ButtonProgressType & { active?: Boolean; after?: React.ReactNode; before?: React.ReactNode; between?: boolean; children?: React.ReactNode; className?: string; containerProps?: any; cssModule?: any; disabled?: Boolean; element?: React.ForwardRefExoticComponent<React.RefAttributes<HTMLAnchorElement | HTMLDivElement | HTMLButtonElement>>; extra?: React.ReactNode; href?: string; moveEvents?: Boolean; onMouseDown?: any; onMouseUp?: (event: React.MouseEvent<Element, MouseEvent> | React.TouchEvent<Element>) => void; onPressed?: any; onReleased?: (event: HTMLElement) => void; placeholder?: Boolean; ripple?: Boolean; rootElement?: string; size?: string; style?: any; type?: string; visible?: Boolean; }) => import("react/jsx-runtime").JSX.Element>; export default _default; export declare const Primary: any; export declare const Secondary: any; export declare const Anchor: any; export declare const Danger: any;