import classNames from "classnames"; import * as React from "react"; import { Ripple } from "../Ripple"; import { Typography } from "../Typography/Typography"; import styles from "./Switch.module.scss"; export interface SwitchProps extends React.ComponentPropsWithoutRef<"button"> { /** * If the Switch is on * * @default false */ isOn?: boolean; /** * The label for the Switch */ label?: string; } /** * @public * * @description * * The Switch component is used to toggle states. */ export const Switch: React.FC = (props) => { const { className, isOn = false, label, ...rest } = props; return ( ); }; Switch.displayName = "Switch";