(name, defaultValue, label)
| 15747 | PageItem.defaultProps = PageItem_defaultProps; |
| 15748 | |
| 15749 | function createButton(name, defaultValue, label) { |
| 15750 | var _class, _temp; |
| 15751 | |
| 15752 | if (label === void 0) { |
| 15753 | label = name; |
| 15754 | } |
| 15755 | |
| 15756 | return _temp = _class = |
| 15757 | /*#__PURE__*/ |
| 15758 | function (_React$Component) { |
| 15759 | _inheritsLoose(_class, _React$Component); |
| 15760 | |
| 15761 | function _class() { |
| 15762 | return _React$Component.apply(this, arguments) || this; |
| 15763 | } |
| 15764 | |
| 15765 | var _proto = _class.prototype; |
| 15766 | |
| 15767 | _proto.render = function render() { |
| 15768 | var _this$props = this.props, |
| 15769 | children = _this$props.children, |
| 15770 | props = _objectWithoutPropertiesLoose(_this$props, ["children"]); |
| 15771 | |
| 15772 | delete props.active; |
| 15773 | return external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement(PageItem, _extends({}, props, { |
| 15774 | __source: { |
| 15775 | fileName: PageItem_jsxFileName, |
| 15776 | lineNumber: 61 |
| 15777 | }, |
| 15778 | __self: this |
| 15779 | }), external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement("span", { |
| 15780 | "aria-hidden": "true", |
| 15781 | __source: { |
| 15782 | fileName: PageItem_jsxFileName, |
| 15783 | lineNumber: 62 |
| 15784 | }, |
| 15785 | __self: this |
| 15786 | }, children || defaultValue), external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement("span", { |
| 15787 | className: "sr-only", |
| 15788 | __source: { |
| 15789 | fileName: PageItem_jsxFileName, |
| 15790 | lineNumber: 63 |
| 15791 | }, |
| 15792 | __self: this |
| 15793 | }, label)); |
| 15794 | }; |
| 15795 | |
| 15796 | return _class; |
| 15797 | }(external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.Component), _class.displayName = name, _temp; |
| 15798 | } |
| 15799 | |
| 15800 | var First = createButton('First', "\xAB"); |
| 15801 | var Prev = createButton('Prev', "\u2039", 'Previous'); |
no test coverage detected
searching dependent graphs…