Files
starface-outlook-sync-addin/node_modules/@fluentui/react/lib-commonjs/components/ChoiceGroup/ChoiceGroup.styles.js
T
Stefan Hacker 37ad745546 first commit
2026-04-03 09:38:48 +02:00

32 lines
1011 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getStyles = void 0;
var Styling_1 = require("../../Styling");
var GlobalClassNames = {
root: 'ms-ChoiceFieldGroup',
flexContainer: 'ms-ChoiceFieldGroup-flexContainer',
};
var getStyles = function (props) {
var className = props.className, optionsContainIconOrImage = props.optionsContainIconOrImage, theme = props.theme;
var classNames = (0, Styling_1.getGlobalClassNames)(GlobalClassNames, theme);
return {
root: [
className,
classNames.root,
theme.fonts.medium,
{
display: 'block',
},
],
flexContainer: [
classNames.flexContainer,
optionsContainIconOrImage && {
display: 'flex',
flexDirection: 'row',
flexWrap: 'wrap',
},
],
};
};
exports.getStyles = getStyles;
//# sourceMappingURL=ChoiceGroup.styles.js.map