UNPKG

433 BTypeScriptView Raw
1import { PolymorphicComponent } from '../utils/PolymorphicComponent';
2import { SwitchTypeMap } from './Switch.types';
3/**
4 * The foundation for building custom-styled switches.
5 *
6 * Demos:
7 *
8 * - [Switch](https://mui.com/base-ui/react-switch/)
9 *
10 * API:
11 *
12 * - [Switch API](https://mui.com/base-ui/react-switch/components-api/#switch)
13 */
14declare const Switch: PolymorphicComponent<SwitchTypeMap<{}, "span">>;
15export { Switch };