pouncejs
Version:
A collection of UI components from Panther labs
26 lines (20 loc) • 675 B
JavaScript
;
exports.__esModule = true;
exports.default = exports.AbstractButton = void 0;
var _system = require("../../system");
var _helpers = require("../../utils/helpers");
var AbstractButton = (0, _system.pounce)('button'); // The component should render a button by default, with some default styles
exports.AbstractButton = AbstractButton;
AbstractButton.defaultProps = {
type: 'button',
cursor: 'pointer',
color: 'white-200',
textDecoration: 'none',
backgroundColor: 'transparent',
transition: 'all 0.1s linear'
};
var _default = AbstractButton;
exports.default = _default;
if (_helpers.__DEV__) {
AbstractButton.displayName = 'AbstractButton';
}