UNPKG

1.01 kBJavaScriptView Raw
1"use strict";
2Object.defineProperty(exports, "__esModule", { value: true });
3exports.getStyles = void 0;
4var Styling_1 = require("../../Styling");
5var GlobalClassNames = {
6 root: 'ms-ChoiceFieldGroup',
7 flexContainer: 'ms-ChoiceFieldGroup-flexContainer',
8};
9var getStyles = function (props) {
10 var className = props.className, optionsContainIconOrImage = props.optionsContainIconOrImage, theme = props.theme;
11 var classNames = Styling_1.getGlobalClassNames(GlobalClassNames, theme);
12 return {
13 root: [
14 className,
15 classNames.root,
16 theme.fonts.medium,
17 {
18 display: 'block',
19 },
20 ],
21 flexContainer: [
22 classNames.flexContainer,
23 optionsContainIconOrImage && {
24 display: 'flex',
25 flexDirection: 'row',
26 flexWrap: 'wrap',
27 },
28 ],
29 };
30};
31exports.getStyles = getStyles;
32//# sourceMappingURL=ChoiceGroup.styles.js.map
\No newline at end of file