UNPKG

@marcosnbj/excalidraw

Version:
18 lines (17 loc) 633 B
import React from "react"; import "./FilledButton.scss"; export type ButtonVariant = "filled" | "outlined" | "icon"; export type ButtonColor = "primary" | "danger" | "warning" | "muted"; export type ButtonSize = "medium" | "large"; export type FilledButtonProps = { label: string; children?: React.ReactNode; onClick?: () => void; variant?: ButtonVariant; color?: ButtonColor; size?: ButtonSize; className?: string; fullWidth?: boolean; startIcon?: React.ReactNode; }; export declare const FilledButton: React.ForwardRefExoticComponent<FilledButtonProps & React.RefAttributes<HTMLButtonElement>>;