You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
399 B
TypeScript

import { UseSwitchParameters, UseSwitchReturnValue } from './useSwitch.types';
/**
* The basic building block for creating custom switches.
*
* Demos:
*
* - [Switch](https://mui.com/base-ui/react-switch/#hook)
*
* API:
*
* - [useSwitch API](https://mui.com/base-ui/react-switch/hooks-api/#use-switch)
*/
export declare function useSwitch(props: UseSwitchParameters): UseSwitchReturnValue;