'use client'; import { ButtonHTMLAttributes, forwardRef } from 'react'; import clsx from 'clsx'; interface ButtonProps extends ButtonHTMLAttributes { variant?: 'primary' | 'secondary' | 'outline' | 'ghost' | 'danger'; size?: 'sm' | 'md' | 'lg'; isLoading?: boolean; /** Label shown in place of the children while loading. */ loadingText?: string; } const Button = forwardRef( ( { className, variant = 'primary', size = 'md', isLoading, loadingText = 'Loading...', children, disabled, ...props }, ref ) => { return ( ); } ); Button.displayName = 'Button'; export default Button;