@buddhacognitivelab/theme-glassmorphic
Version:
Enhanced glassmorphic theme package with dual-mode support, advanced glass effects, interactive UI components, and gesture-based interactions
27 lines (26 loc) • 899 B
TypeScript
/**
* @fileoverview Radio component with glassmorphic styling
*/
import React from 'react';
import type { GlassIntensity } from '../../types/theme';
export interface RadioProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, 'size' | 'type'> {
/** Radio size */
size?: 'small' | 'medium' | 'large';
/** Glass effect intensity */
glassIntensity?: GlassIntensity;
/** Radio state for styling */
state?: 'default' | 'error' | 'warning' | 'success';
/** Radio label */
label?: string;
/** Helper text */
helperText?: string;
/** Error message */
error?: string;
/** Radio value */
value: string | number;
/** Whether radio is loading */
loading?: boolean;
/** Additional CSS class */
className?: string;
}
export declare const Radio: React.ForwardRefExoticComponent<RadioProps & React.RefAttributes<HTMLInputElement>>;