UNPKG

choerodon-ui

Version:

An enterprise-class UI design language and React-based implementation

36 lines (28 loc) 1.02 kB
import _extends from "@babel/runtime/helpers/extends"; import _classCallCheck from "@babel/runtime/helpers/classCallCheck"; import _createClass from "@babel/runtime/helpers/createClass"; import _inherits from "@babel/runtime/helpers/inherits"; import _createSuper from "@babel/runtime/helpers/createSuper"; import React, { Component } from 'react'; import { Size } from '../_util/enum'; import Select from '../select'; var MiniSelect = /*#__PURE__*/function (_Component) { _inherits(MiniSelect, _Component); var _super = _createSuper(MiniSelect); function MiniSelect() { _classCallCheck(this, MiniSelect); return _super.apply(this, arguments); } _createClass(MiniSelect, [{ key: "render", value: function render() { return /*#__PURE__*/React.createElement(Select, _extends({ size: Size.small }, this.props)); } }]); return MiniSelect; }(Component); export { MiniSelect as default }; MiniSelect.Option = Select.Option; //# sourceMappingURL=MiniSelect.js.map