1 | "use strict";
|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
3 | exports.getStyles = void 0;
|
4 | var Styling_1 = require("../../Styling");
|
5 | var GlobalClassNames = {
|
6 | root: 'ms-ChoiceFieldGroup',
|
7 | flexContainer: 'ms-ChoiceFieldGroup-flexContainer',
|
8 | };
|
9 | var 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 | };
|
31 | exports.getStyles = getStyles;
|
32 |
|
\ | No newline at end of file |