@open-tender/store
Version:
A library of hooks, reducers, utility functions, and types for use with Open Tender applications that utilize our in-store POS API
52 lines (51 loc) • 1.55 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var tslib_1 = require("tslib");
var styles_1 = tslib_1.__importDefault(require("../styles"));
var utils_1 = require("../utils");
var checkoutPromoCode = {
checkoutPromoCode: {
classes: '',
props: {},
style: {
alignItems: 'center',
flexDirection: 'row',
justifyContent: 'space-between',
padding: utils_1.theme.spacing.padding.large
}
},
checkoutPromoCode__label: {
classes: '',
props: {},
style: {
flexGrow: 1,
flexShrink: 1
}
},
checkoutPromoCode__title: {
classes: '',
props: {
text: 'Promo Code'
},
style: tslib_1.__assign(tslib_1.__assign({}, styles_1.default.textHeading), { fontSize: utils_1.theme.fontSizes.xlarge })
},
checkoutPromoCode__button: {
classes: '',
props: {},
style: {
flexGrow: 0,
flexShrink: 0
}
},
checkoutPromoCode__add: {
classes: '',
props: { text: 'Add' },
style: tslib_1.__assign(tslib_1.__assign({}, styles_1.default.buttonPrimary), { fontSize: utils_1.theme.fontSizes.small })
},
checkoutPromoCode__remove: {
classes: '',
props: { text: 'Remove' },
style: tslib_1.__assign(tslib_1.__assign({}, styles_1.default.buttonDelete), { fontSize: utils_1.theme.fontSizes.small })
}
};
exports.default = checkoutPromoCode;