@up-group-ui/react-controls
Version:
Up shared react controls
32 lines • 1.21 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.getPictureWrapperStyles = exports.getCameraWrapperStyles = exports.getPictureCustomStyle = void 0;
var types_1 = require("../../../Common/theming/types");
var utils_1 = require("../../../Common/theming/utils");
var getPictureCustomStyle = function (key, customStyles, props, state) {
return (0, types_1.getCustomStyles)(key, customStyles, props, state);
};
exports.getPictureCustomStyle = getPictureCustomStyle;
var getCameraWrapperStyles = function (props, state) {
return {
$nest: {
'&.up-camera-wrapper video': {
margin: (0, utils_1.toRem)(10) + " 0",
border: "1px solid " + props.theme.colorMap.primary,
borderRadius: props.theme.borderRadius,
},
},
};
};
exports.getCameraWrapperStyles = getCameraWrapperStyles;
var getPictureWrapperStyles = function (props, state) {
return {
$nest: {
'&.up-picture-wrapper': {
margin: (0, utils_1.toRem)(10) + " 0",
},
},
};
};
exports.getPictureWrapperStyles = getPictureWrapperStyles;
//# sourceMappingURL=styles.js.map