Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
value: function renderCardButtons(item, index) {
if (this.props.renderCardButtons) {
return this.props.renderCardButtons(item, index);
}
return _react2.default.createElement(
_card.CardActionButtons,
null,
_react2.default.createElement(
_card.CardAction,
{ onClick: this.triggerEvent(item.name || index, Object.assign({}, item.action, { primary: true })) },
' ',
item.actionTitle || 'Learn More',
' '
),
this.renderSecondaryCardButton(item, index)
);
}
}, {