import { Switch } from '@heroui/switch'; import clsx from 'clsx'; import React, { forwardRef } from 'react'; export interface SwitchCardProps { label?: string; description?: string; value?: boolean; onValueChange?: (value: boolean) => void; name?: string; onBlur?: React.FocusEventHandler; disabled?: boolean; onChange?: React.ChangeEventHandler; } const SwitchCard = forwardRef( (props, ref) => { const { label, description, value, onValueChange, disabled } = props; const selectString = value ? 'true' : 'false'; return (

{label}

{description}

); } ); SwitchCard.displayName = 'SwitchCard'; export default SwitchCard;