Repository URL to install this package:
|
Version:
2.8.4 ▾
|
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
const styleh_components_1 = require("styleh-components");
const Label_1 = require("../../../atoms/Text/Label");
const PriceWrapper = styleh_components_1.styled.section`position:relative;`;
exports.PriceWrapper = PriceWrapper;
const LabelSpan = Label_1.LabelElement.as('span');
const SalePrice = styleh_components_1.styled.withComponent(LabelSpan).attrs({
'data-qa': 'qa-sale-price'
})`position:relative;color:var(--color-red);margin-right:5px;`;
exports.SalePrice = SalePrice;
const RegularPrice = styleh_components_1.styled.withComponent(LabelSpan).attrs({
'data-qa': 'qa-reg-price'
})`position:relative;color:#1e1e1e;${props => props.isSalePrice && styleh_components_1.styled.css`text-decoration:line-through;`};`;
exports.RegularPrice = RegularPrice; //# sourceMappingURL=styled.js.map