UNPKG

wgm-swap-components

Version:
41 lines (40 loc) 759 B
import React from 'react'; export interface SwapButtonProps { /** * Button text */ children: React.ReactNode; /** * Button variant */ variant?: 'primary' | 'secondary' | 'success' | 'warning' | 'danger'; /** * Button size */ size?: 'small' | 'medium' | 'large'; /** * Disabled state */ disabled?: boolean; /** * Loading state */ loading?: boolean; /** * Click handler */ onClick?: () => void; /** * Additional CSS classes */ className?: string; /** * Full width button */ fullWidth?: boolean; } /** * Swap Button Component */ export declare const SwapButton: React.FC<SwapButtonProps>; export default SwapButton;