UNPKG

@dossierhq/design

Version:

The design system for Dossier.

14 lines (13 loc) 507 B
import type { MouseEventHandler, ReactNode } from 'react'; import { type Color } from '../../config/Colors.js'; import { type IconName } from '../Icon/Icon.js'; interface Props { children: ReactNode; className?: string; color?: Color; iconLeft?: IconName; iconRight?: IconName; onClick?: MouseEventHandler<HTMLButtonElement>; } export declare function Button2({ className, color, iconLeft, iconRight, children, ...props }: Props): import("react/jsx-runtime").JSX.Element; export {};