Dashboard sipadu mbip
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Switch.js 400B

12345678910111213
  1. import _extends from "@babel/runtime/helpers/esm/extends";
  2. import React from 'react';
  3. import FormCheck from './FormCheck';
  4. var Switch = React.forwardRef(function (props, ref) {
  5. return 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;