UNPKG

@tinacms/toolkit

Version:

Tina is a lightweight but powerful toolkit for creating a site editing ui with javascript components. Tina surfaces superpowers for dev’s to create, expand on and customize a simple yet intuitive ui for editing content.

21 lines (17 loc) 733 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;