GoScrobble/web/node_modules/react-bootstrap/cjs/Switch.d.ts

10 lines
381 B
TypeScript
Raw Normal View History

2022-04-25 02:47:15 +00:00
import FormCheck, { FormCheckProps } from './FormCheck';
import { BsPrefixRefForwardingComponent } from './helpers';
declare type SwitchProps = Omit<FormCheckProps, 'type'>;
declare type Switch = BsPrefixRefForwardingComponent<FormCheck, SwitchProps> & {
Input: typeof FormCheck.Input;
Label: typeof FormCheck.Label;
};
declare const Switch: Switch;
export default Switch;