"use strict";var e=require("@babel/runtime/helpers/defineProperty"),r=require("prop-types"),t=require("classnames"),o=require("@material-ui/core"),n=require("react/jsx-runtime");function s(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var i=s(e),c=s(r),u=s(t);function a(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,o)}return t}function p(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?a(Object(t),!0).forEach((function(r){i.default(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):a(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}var l=o.makeStyles({small:{padding:8}}),f=function(e){var r=e.size,t=e.classes,s=void 0===t?{}:t,i=l();return"medium"===r?n.jsx(o.Checkbox,p({},e)):n.jsx(o.Checkbox,p(p({},e),{},{classes:p(p({},s),{},{root:u.default(i.small,s.root)})}))};f.propTypes={size:c.default.string},f.defaultProps={size:"medium"},module.exports=f;
