UNPKG

@theme-ui/components

Version:

Primitive layout, typographic, and other components for use with Theme UI.

11 lines (10 loc) 387 B
import React from 'react'; import { BoxOwnProps } from './Box'; import type { Assign, ForwardRef } from './types'; export interface ButtonProps extends Assign<React.ComponentPropsWithRef<'button'>, BoxOwnProps> { } /** * Primitive button component with variants * @see https://theme-ui.com/components/button */ export declare const Button: ForwardRef<HTMLButtonElement, ButtonProps>;