Repository URL to install this package:
Version:
0.9.7 ▾
|
"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const react_1 = __importDefault(require("react"));
const styled_1 = require("./styled");
/**
* @todo Text input box needs to be added in this Component
* as of now its just a up and down arrows within it
*/
class IncrementDecrement extends react_1.default.PureComponent {
render() {
const { className } = this.props;
return (react_1.default.createElement(styled_1.ButtonWrapper, { className: className },
react_1.default.createElement(styled_1.StyledButton, null,
react_1.default.createElement(styled_1.UpArrowIcon, { up: true })),
react_1.default.createElement(styled_1.StyledButton, null,
react_1.default.createElement(styled_1.DownArrowIcon, { down: true }))));
}
}
IncrementDecrement.defaultProps = {
className: '',
};
exports.IncrementDecrement = IncrementDecrement;
exports.default = IncrementDecrement;
//# sourceMappingURL=IncrementDecrement.js.map