@theme-ui/components
Version:
Primitive layout, typographic, and other components for use with Theme UI.
11 lines (10 loc) • 393 B
TypeScript
import React from 'react';
import { BoxOwnProps } from "./Box.js";
import type { Assign, ForwardRef } from "./types.js";
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>;