Repository URL to install this package:
|
Version:
2.8.4 ▾
|
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
const tslib_1 = require("tslib");
const react_1 = tslib_1.__importDefault(require("react"));
const styled_1 = require("./styled");
class GhostButton extends react_1.default.PureComponent {
render() {
const _a = this.props,
{
breedType,
text
} = _a,
remainingProps = tslib_1.__rest(_a, ["breedType", "text"]);
return react_1.default.createElement(styled_1.StyledGhostButton, Object.assign({
breedType: breedType,
text: text
}, remainingProps));
}
}
GhostButton.defaultProps = {
breedType: 'text',
text: 'Cancel Order',
role: 'button',
'aria-label': 'button',
'aria-pressed': false
};
exports.GhostButton = GhostButton;
exports.default = GhostButton; //# sourceMappingURL=GhostButton.js.map