UNPKG

@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

50 lines (49 loc) 1.33 kB
import { __assign } from "tslib"; import styles from '../styles'; import { theme } from '../utils'; var checkoutPromoCode = { checkoutPromoCode: { classes: '', props: {}, style: { alignItems: 'center', flexDirection: 'row', justifyContent: 'space-between', padding: theme.spacing.padding.large } }, checkoutPromoCode__label: { classes: '', props: {}, style: { flexGrow: 1, flexShrink: 1 } }, checkoutPromoCode__title: { classes: '', props: { text: 'Promo Code' }, style: __assign(__assign({}, styles.textHeading), { fontSize: theme.fontSizes.xlarge }) }, checkoutPromoCode__button: { classes: '', props: {}, style: { flexGrow: 0, flexShrink: 0 } }, checkoutPromoCode__add: { classes: '', props: { text: 'Add' }, style: __assign(__assign({}, styles.buttonPrimary), { fontSize: theme.fontSizes.small }) }, checkoutPromoCode__remove: { classes: '', props: { text: 'Remove' }, style: __assign(__assign({}, styles.buttonDelete), { fontSize: theme.fontSizes.small }) } }; export default checkoutPromoCode;