import { Switch, SwitchGroup, SwitchSize } from '../../../Switch'
import { Info, AlertCircle } from 'lucide-react'
const SwitchLightHouse = () => {
return (
<>
{/* Basic Switch - Small */}
{/* Basic Switch - Medium */}
{/* Checked Switch */}
{/* Unchecked Switch */}
{/* Default Checked */}
{/* Disabled Switch */}
{/* Disabled Checked */}
{/* Required Switch */}
{/* Error Switch */}
{/* Error Checked */}
{/* With Label */}
{/* With Label - Checked */}
{/* With Subtext */}
{/* With Subtext - Checked */}
{/* With Subtext - Disabled */}
{/* With Subtext - Error */}
{/* With Slot */}
} />
{/* With Slot - Checked */}
}
/>
{/* With Slot and Subtext */}
}
subtext="This switch has both slot and subtext"
/>
{/* Small Size with Label */}
{/* Medium Size with Label */}
{/* Small Size with Subtext */}
{/* Medium Size with Subtext */}
{/* Required with Subtext */}
{/* Error with Subtext */}
{/* Disabled with Subtext */}
{/* With onChange Handler */}
{
console.log('Switch changed:', checked)
}}
/>
{/* Controlled Switch */}
{
console.log('Controlled switch changed:', checked)
}}
/>
{/* With Name */}
{/* With ID */}
{/* With Name and ID */}
{/* With Value */}
{/* Long Label */}
{/* Long Label with Subtext */}
{/* With MaxLength - Label */}
{/* With MaxLength - Subtext */}
{/* With MaxLength - Both */}
{/* Complex Switch */}
}
label="Complex Switch Example"
subtext="This is a complex switch with all features enabled"
size={SwitchSize.MEDIUM}
name="complex-switch"
value="complex"
onChange={(checked) => {
console.log('Complex switch changed:', checked)
}}
/>
{/* SwitchGroup - Basic */}
{/* SwitchGroup - With Default Values */}
{/* SwitchGroup - Controlled */}
{
console.log('Group values changed:', values)
}}
>
{/* SwitchGroup - Disabled */}
{/* SwitchGroup - With Subtext */}
{/* SwitchGroup - With Slots */}
}
/>
}
/>
{/* SwitchGroup - Small Size */}
{/* SwitchGroup - Mixed Sizes */}
{/* All States - Small */}
{/* All States - Medium */}
>
)
}
export default SwitchLightHouse