Dashboard sipadu mbip
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

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;