UNPKG

tinacms

Version:

[![GitHub license](https://img.shields.io/github/license/tinacms/tinacms?color=blue)](https://github.com/tinacms/tinacms/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/tinacms.svg?style=flat)](https://www.npmjs.com/package/tinacms) [![Bui

16 lines (15 loc) 755 B
import * as React from 'react'; export interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> { variant?: 'primary' | 'secondary' | 'white' | 'ghost' | 'danger' | 'custom'; as?: React.ElementType; href?: string; target?: string; size?: 'small' | 'medium' | 'custom'; busy?: boolean; rounded?: 'full' | 'left' | 'right' | 'custom' | 'none'; disabled?: boolean; className?: string; children?: React.ReactNode; } export declare const Button: ({ variant, as: Tag, size, busy, disabled, rounded, children, className, ...props }: ButtonProps) => React.JSX.Element; export declare const IconButton: ({ variant, size, busy, disabled, children, className, ...props }: ButtonProps) => React.JSX.Element;