UNPKG

tinacms

Version:

> The Fastest Way to Edit Next.js Content

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