@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
36 lines (35 loc) • 957 B
JavaScript
import { __assign } from "tslib";
import styles from '../styles';
import { theme } from '../utils';
var errorMessage = {
errorMessage: {
classes: '',
props: {},
style: {
alignItems: 'center',
backgroundColor: theme.colors.error.secondary,
borderRadius: 5,
flexDirection: 'row',
gap: 5,
justifyContent: 'center',
paddingBottom: 8,
paddingLeft: 15,
paddingRight: 15,
paddingTop: 8,
textAlign: 'center'
}
},
errorMessage__icon: {
classes: '',
props: {},
style: {
color: theme.colors.error.primary
}
},
errorMessage__message: {
classes: '',
props: {},
style: __assign(__assign({}, styles.textBody), { fontSize: theme.fontSizes.small, color: theme.colors.error.primary })
}
};
export default errorMessage;