UNPKG

hair-ui

Version:

A Minimalist Component Library For React.

13 lines (12 loc) 485 B
import React from "react"; export interface ButtonProps { btnText: string; type?: "primary" | "success" | "warning" | "danger" | "info"; size?: "normal" | "small" | "mini"; plain?: boolean; round?: boolean; disabled?: boolean; onClick?: (e?: React.MouseEvent<HTMLDivElement, MouseEvent>) => void; children?: React.ReactNode; } export declare function Button({ btnText, type, size, plain, round, disabled, onClick, ...props }: ButtonProps): JSX.Element;