@shopify/polaris
Version:
Shopify’s admin product component library
18 lines (14 loc) • 397 B
JavaScript
var React = require('react');
var UnstyledButton = require('./UnstyledButton.js');
function unstyledButtonFrom({
content,
onAction,
...action
}, overrides, key) {
return /*#__PURE__*/React.createElement(UnstyledButton.UnstyledButton, Object.assign({
key: key,
onClick: onAction
}, action, overrides), content);
}
exports.unstyledButtonFrom = unstyledButtonFrom;
;