UNPKG

380 BJavaScriptView Raw
1import * as React from 'react';
2import FormCheck from './FormCheck';
3import { jsx as _jsx } from "react/jsx-runtime";
4const Switch = /*#__PURE__*/React.forwardRef((props, ref) => /*#__PURE__*/_jsx(FormCheck, {
5 ...props,
6 ref: ref,
7 type: "switch"
8}));
9Switch.displayName = 'Switch';
10export default Object.assign(Switch, {
11 Input: FormCheck.Input,
12 Label: FormCheck.Label
13});
\No newline at end of file