import { ComponentType, ReactNode } from 'react'; import { AutomationTestingProps } from '@/types'; import { Button } from '@@/buttons'; interface Props extends AutomationTestingProps { active: boolean; onChange: (active: boolean) => void; label: ReactNode; icon?: ReactNode | ComponentType; title?: string; } /** * An independent on/off toggle rendered as a real ); }