UNPKG

awv3

Version:
30 lines (26 loc) 734 B
import _extends from "@babel/runtime/helpers/extends"; import _inheritsLoose from "@babel/runtime/helpers/inheritsLoose"; var _class, _temp; import Element from '../element'; var Checkbox = (_temp = _class = /*#__PURE__*/ function (_Element) { _inheritsLoose(Checkbox, _Element); function Checkbox(plugin, options) { return _Element.call(this, plugin, _extends({ type: Element.Type.Checkbox, value: false, format: Checkbox.Format.Default }, options)) || this; } return Checkbox; }(Element), Object.defineProperty(_class, "Format", { configurable: true, enumerable: true, writable: true, value: { Default: 'Default', Switch: 'Switch' } }), _temp); export { Checkbox as default };