mirror of
https://github.com/henrywhitaker3/Speedtest-Tracker.git
synced 2025-12-25 06:49:15 +01:00
13 lines
426 B
JavaScript
Vendored
13 lines
426 B
JavaScript
Vendored
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
import React from 'react';
|
|
import FormCheck from './FormCheck';
|
|
var Switch = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
return /*#__PURE__*/React.createElement(FormCheck, _extends({}, props, {
|
|
ref: ref,
|
|
type: "switch"
|
|
}));
|
|
});
|
|
Switch.displayName = 'Switch';
|
|
Switch.Input = FormCheck.Input;
|
|
Switch.Label = FormCheck.Label;
|
|
export default Switch; |