UNPKG

@cosva-lab/form-builder

Version:
33 lines (30 loc) 1.3 kB
import { __extends, __assign } from '../_virtual/_tslib.js'; import React from 'react'; import CircularProgress from '@mui/material/CircularProgress'; import classes from './Loading.module.scss.js'; var CircularIndeterminate = /** @class */ (function (_super) { __extends(CircularIndeterminate, _super); function CircularIndeterminate() { return _super !== null && _super.apply(this, arguments) || this; } CircularIndeterminate.prototype.render = function () { var _a = this.props, size = _a.size, color = _a.color, disableShrink = _a.disableShrink, thickness = _a.thickness, variant = _a.variant, style = _a.style; return (React.createElement(CircularProgress, __assign({ variant: variant || 'indeterminate', className: classes.progress }, { style: style, size: size, color: color, disableShrink: disableShrink, thickness: thickness, }))); }; CircularIndeterminate.defaultProps = { color: 'primary', disableShrink: false, size: 40, thickness: 3.6, variant: 'indeterminate', }; return CircularIndeterminate; }(React.PureComponent)); export { CircularIndeterminate as default }; //# sourceMappingURL=index.js.map