goobs-frontend
Version:
A comprehensive React-based libary for building modern web applications
13 lines • 574 B
TypeScript
import { default as React } from 'react';
import { SwitchStyles } from '../../theme';
export interface SwitchProps extends React.InputHTMLAttributes<HTMLInputElement> {
/** Label text to display on the left side of the switch */
leftLabel?: string;
/** Label text to display on the right side of the switch */
rightLabel?: string;
/** Comprehensive styling options including theme, custom colors, and layout properties */
styles?: SwitchStyles;
}
declare const Switch: React.FC<SwitchProps>;
export default Switch;
//# sourceMappingURL=index.d.ts.map