UNPKG

@synergycodes/axiom

Version:

A React library for creating node-based UIs and diagram-driven applications. Perfect for React Flow users, providing ready-to-use node templates and components that work seamlessly with React Flow's ecosystem.

11 lines (10 loc) 620 B
import { Size } from '../../../shared/types/size'; import { BaseButtonProps } from '../types'; export declare const BUTTON_VARIANTS: readonly ["primary", "secondary", "gray", "error", "warning", "success", "ghost-destructive"]; export declare const BUTTON_SIZES: ("small" | "medium" | "large" | "xx-small" | "xxx-small" | "extra-small" | "extra-large")[]; export type ButtonSize = Extract<Size, 'extra-small' | 'small' | 'medium' | 'large' | 'extra-large'>; export type Variant = (typeof BUTTON_VARIANTS)[number]; export type BaseRegularButtonProps = BaseButtonProps & { variant?: Variant; size?: ButtonSize; };