react-native-unit-components
Version:
Unit React Native components
22 lines (21 loc) • 625 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.getCardActionScript = exports.getCardActionParams = void 0;
var _bodyScript = require("../../scripts/html/bodyScript");
const getCardActionParams = props => {
return `
card-id="${props.cardId}"
customer-token="${props.customerToken}"
action="${props.action}"
`;
};
exports.getCardActionParams = getCardActionParams;
const getCardActionScript = () => {
return `
${_bodyScript.LISTENERS.requestRefresh}
`;
};
exports.getCardActionScript = getCardActionScript;
//# sourceMappingURL=UNCardActionComponent.utils.js.map