1 | import _extends from "@babel/runtime/helpers/esm/extends";
|
2 | import React from 'react';
|
3 | import FormCheck from './FormCheck';
|
4 | var Switch = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
5 | return /*#__PURE__*/React.createElement(FormCheck, _extends({}, props, {
|
6 | ref: ref,
|
7 | type: "switch"
|
8 | }));
|
9 | });
|
10 | Switch.displayName = 'Switch';
|
11 | Switch.Input = FormCheck.Input;
|
12 | Switch.Label = FormCheck.Label;
|
13 | export default Switch; |
\ | No newline at end of file |