import React from 'react'; import { Spinner } from '../Spinner'; export interface ButtonProps { disabled?: boolean; children?: React.ReactNode; primary?: boolean; size?: 'small' | 'medium' | 'large'; isLoading?: boolean; onClick?: () => void; className?: string; style?: React.CSSProperties; fullWidth?: boolean; actionName?: string; } /** * Primary UI component for user interaction */ export const Button = ({ primary = true, size = 'medium', fullWidth = false, children, actionName, isLoading, ...props }: ButtonProps) => { const label = actionName ? ( Execute: {actionName} ) : ( children ); return ( ); };