Page MenuHomec4science

Switch.js
No OneTemporary

File Metadata

Created
Thu, Jul 24, 21:35

Switch.js

import * as React from 'react';
import FormCheck from './FormCheck';
import { jsx as _jsx } from "react/jsx-runtime";
const Switch = /*#__PURE__*/React.forwardRef((props, ref) => /*#__PURE__*/_jsx(FormCheck, {
...props,
ref: ref,
type: "switch"
}));
Switch.displayName = 'Switch';
export default Object.assign(Switch, {
Input: FormCheck.Input,
Label: FormCheck.Label
});

Event Timeline