soda-material
Version:
A component library that may follow [material design 3](https://m3.material.io/components) (a.k.a. material you)
12 lines (11 loc) • 495 B
TypeScript
/// <reference types="react" />
import './switch.scss';
/**
* @specs https://m3.material.io/components/switch/specs
*/
export declare const Switch: import("react").ForwardRefExoticComponent<{
checked?: boolean | undefined;
onChange?: (() => void) | undefined;
children?: React.ReactNode;
disabled?: boolean | undefined;
} & Omit<import("react").HTMLProps<HTMLElement>, "ref" | "checked" | "disabled" | "children" | "onChange"> & import("react").RefAttributes<HTMLDivElement>>;