Skip to content

The open alternative to Salesforce, designed for AI.

300 B
Raw Blame
import { type SwitchProps } from '../types/SwitchProps';
import { SwitchRoot } from './SwitchRoot';
import { SwitchThumb } from './SwitchThumb';

export const SwitchComponent = ({ children, ...props }: SwitchProps) => (
  <SwitchRoot {...props}>
    <SwitchThumb />
    {children}
  </SwitchRoot>
);