UNPKG

component-library-mustafa-akagunduz

Version:

Air Command System projesi için geliştirilmiş React component kütüphanesi

18 lines (17 loc) 533 B
import React from 'react'; import './button.css'; export type ButtonProps = { children: React.ReactNode; onClick?: () => void; disabled?: boolean; variant?: 'primary' | 'secondary' | 'danger' | 'success' | 'ghost'; size?: 'small' | 'medium' | 'large'; loading?: boolean; icon?: React.ReactNode; iconPosition?: 'left' | 'right'; fullWidth?: boolean; type?: 'button' | 'submit' | 'reset'; className?: string; 'aria-label'?: string; }; export declare const Button: React.FC<ButtonProps>;