Skip to content

Email for professionals and teams

221 B
Raw Blame
import type { ButtonHTMLAttributes } from "react";

export type SwitchProps = Omit<
	ButtonHTMLAttributes<HTMLButtonElement>,
	"onChange" | "role"
> & {
	checked: boolean;
	onCheckedChange: (checked: boolean) => void;
};