react-native-exp-fig 0.1.30 → 0.1.31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/commonjs/components/selects/select-option/styles.js +10 -7
- package/lib/commonjs/components/selects/select-option/styles.js.map +1 -1
- package/lib/module/components/selects/select-option/styles.js +10 -7
- package/lib/module/components/selects/select-option/styles.js.map +1 -1
- package/lib/typescript/src/components/selects/select-option/styles.d.ts +6 -3
- package/package.json +1 -1
- package/src/components/selects/select-option/styles.ts +78 -75
|
@@ -6,8 +6,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.styles = void 0;
|
|
7
7
|
var _reactNative = require("react-native");
|
|
8
8
|
var _theme = require("../../../styles/theme/theme");
|
|
9
|
-
/**
|
|
10
|
-
* IMPORTS
|
|
9
|
+
/**
|
|
10
|
+
* IMPORTS
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
13
|
// typings
|
|
@@ -54,12 +54,15 @@ const styles = props => {
|
|
|
54
54
|
width: "100%",
|
|
55
55
|
backgroundColor: _theme.theme.colors.neutral[25],
|
|
56
56
|
borderRadius: 10,
|
|
57
|
-
|
|
58
|
-
|
|
57
|
+
paddingVertical: 15,
|
|
58
|
+
paddingHorizontal: 20,
|
|
59
|
+
alignItems: "stretch"
|
|
59
60
|
},
|
|
60
61
|
option: {
|
|
61
62
|
width: "100%",
|
|
62
|
-
|
|
63
|
+
paddingVertical: 10,
|
|
64
|
+
paddingRight: 10,
|
|
65
|
+
paddingLeft: 0,
|
|
63
66
|
alignItems: "flex-start",
|
|
64
67
|
borderBottomWidth: 1,
|
|
65
68
|
borderBottomColor: _theme.theme.colors.gray[300]
|
|
@@ -76,8 +79,8 @@ const styles = props => {
|
|
|
76
79
|
});
|
|
77
80
|
};
|
|
78
81
|
|
|
79
|
-
/**
|
|
80
|
-
* EXPORTS
|
|
82
|
+
/**
|
|
83
|
+
* EXPORTS
|
|
81
84
|
*/
|
|
82
85
|
exports.styles = styles;
|
|
83
86
|
//# sourceMappingURL=styles.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_reactNative","require","_theme","styles","props","_props$sizeTitleLabel","_props$colortitleLabe","StyleSheet","create","container","width","marginBottom","label","fontSize","sizeTitleLabel","fontWeight","color","colortitleLabel","theme","colors","black","selectBox","flexDirection","alignItems","justifyContent","height","borderWidth","borderColor","gray","borderRadius","backgroundColor","neutral","paddingHorizontal","selectedText","modalOverlay","flex","padding","modalContainer","option","borderBottomWidth","borderBottomColor","optionText","closeButtonText","exports"],"sources":["styles.ts"],"sourcesContent":["/**\n * IMPORTS\n */\nimport { StyleSheet } from \"react-native\";\n\n// typings\nimport { ISelectDropDownProps } from \"./interface\";\n\n// theme\nimport { theme } from \"../../../styles/theme/theme\";\n\nconst styles = (props: ISelectDropDownProps) =>\n StyleSheet.create({\n container: {\n width: \"100%\",\n marginBottom: 16,\n },\n label: {\n fontSize: props.sizeTitleLabel ?? 16,\n fontWeight: \"bold\",\n color: props.colortitleLabel ?? theme.colors.black[100],\n marginBottom: 5,\n },\n selectBox: {\n flexDirection: \"row\",\n alignItems: \"center\",\n justifyContent: \"space-between\",\n width: \"100%\",\n height: 45,\n borderWidth: 1,\n borderColor: theme.colors.gray[700],\n borderRadius: 10,\n backgroundColor: theme.colors.neutral[25],\n paddingHorizontal: 10,\n },\n selectedText: {\n fontSize: 14,\n color: \"#666\",\n },\n modalOverlay: {\n flex: 1,\n backgroundColor: \"rgba(0,0,0,0.5)\",\n justifyContent: \"center\",\n alignItems: \"center\",\n padding: 24,\n },\n modalContainer: {\n width: \"100%\",\n backgroundColor: theme.colors.neutral[25],\n borderRadius: 10,\n
|
|
1
|
+
{"version":3,"names":["_reactNative","require","_theme","styles","props","_props$sizeTitleLabel","_props$colortitleLabe","StyleSheet","create","container","width","marginBottom","label","fontSize","sizeTitleLabel","fontWeight","color","colortitleLabel","theme","colors","black","selectBox","flexDirection","alignItems","justifyContent","height","borderWidth","borderColor","gray","borderRadius","backgroundColor","neutral","paddingHorizontal","selectedText","modalOverlay","flex","padding","modalContainer","paddingVertical","option","paddingRight","paddingLeft","borderBottomWidth","borderBottomColor","optionText","closeButtonText","exports"],"sources":["styles.ts"],"sourcesContent":["/**\r\n * IMPORTS\r\n */\r\nimport { StyleSheet } from \"react-native\";\r\n\r\n// typings\r\nimport { ISelectDropDownProps } from \"./interface\";\r\n\r\n// theme\r\nimport { theme } from \"../../../styles/theme/theme\";\r\n\r\nconst styles = (props: ISelectDropDownProps) =>\r\n StyleSheet.create({\r\n container: {\r\n width: \"100%\",\r\n marginBottom: 16,\r\n },\r\n label: {\r\n fontSize: props.sizeTitleLabel ?? 16,\r\n fontWeight: \"bold\",\r\n color: props.colortitleLabel ?? theme.colors.black[100],\r\n marginBottom: 5,\r\n },\r\n selectBox: {\r\n flexDirection: \"row\",\r\n alignItems: \"center\",\r\n justifyContent: \"space-between\",\r\n width: \"100%\",\r\n height: 45,\r\n borderWidth: 1,\r\n borderColor: theme.colors.gray[700],\r\n borderRadius: 10,\r\n backgroundColor: theme.colors.neutral[25],\r\n paddingHorizontal: 10,\r\n },\r\n selectedText: {\r\n fontSize: 14,\r\n color: \"#666\",\r\n },\r\n modalOverlay: {\r\n flex: 1,\r\n backgroundColor: \"rgba(0,0,0,0.5)\",\r\n justifyContent: \"center\",\r\n alignItems: \"center\",\r\n padding: 24,\r\n },\r\n modalContainer: {\r\n width: \"100%\",\r\n backgroundColor: theme.colors.neutral[25],\r\n borderRadius: 10,\r\n paddingVertical: 15,\r\n paddingHorizontal: 20,\r\n alignItems: \"stretch\",\r\n },\r\n option: {\r\n width: \"100%\",\r\n paddingVertical: 10,\r\n paddingRight: 10,\r\n paddingLeft: 0,\r\n alignItems: \"flex-start\",\r\n borderBottomWidth: 1,\r\n borderBottomColor: theme.colors.gray[300],\r\n },\r\n optionText: {\r\n fontSize: 14,\r\n color: theme.colors.black[100],\r\n fontWeight: \"500\",\r\n },\r\n closeButtonText: {\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BD,UAAU,EAAE,QAAQ;MACpBa,OAAO,EAAE;IACX,CAAC;IACDC,cAAc,EAAE;MACd3B,KAAK,EAAE,MAAM;MACboB,eAAe,EAAEZ,YAAK,CAACC,MAAM,CAACY,OAAO,CAAC,EAAE,CAAC;MACzCF,YAAY,EAAE,EAAE;MAChBS,eAAe,EAAE,EAAE;MACnBN,iBAAiB,EAAE,EAAE;MACrBT,UAAU,EAAE;IACd,CAAC;IACDgB,MAAM,EAAE;MACN7B,KAAK,EAAE,MAAM;MACb4B,eAAe,EAAE,EAAE;MACnBE,YAAY,EAAE,EAAE;MAChBC,WAAW,EAAE,CAAC;MACdlB,UAAU,EAAE,YAAY;MACxBmB,iBAAiB,EAAE,CAAC;MACpBC,iBAAiB,EAAEzB,YAAK,CAACC,MAAM,CAACS,IAAI,CAAC,GAAG;IAC1C,CAAC;IACDgB,UAAU,EAAE;MACV/B,QAAQ,EAAE,EAAE;MACZG,KAAK,EAAEE,YAAK,CAACC,MAAM,CAACC,KAAK,CAAC,GAAG,CAAC;MAC9BL,UAAU,EAAE;IACd,CAAC;IACD8B,eAAe,EAAE;MACf7B,KAAK,EAAEE,YAAK,CAACC,MAAM,CAACY,OAAO,CAAC,EAAE,CAAC;MAC/BhB,UAAU,EAAE;IACd;EACF,CAAC,CAAC;AAAA;;AAEJ;AACA;AACA;AAFA+B,OAAA,CAAA3C,MAAA,GAAAA,MAAA","ignoreList":[]}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* IMPORTS
|
|
1
|
+
/**
|
|
2
|
+
* IMPORTS
|
|
3
3
|
*/
|
|
4
4
|
import { StyleSheet } from "react-native";
|
|
5
5
|
|
|
@@ -47,12 +47,15 @@ const styles = props => {
|
|
|
47
47
|
width: "100%",
|
|
48
48
|
backgroundColor: theme.colors.neutral[25],
|
|
49
49
|
borderRadius: 10,
|
|
50
|
-
|
|
51
|
-
|
|
50
|
+
paddingVertical: 15,
|
|
51
|
+
paddingHorizontal: 20,
|
|
52
|
+
alignItems: "stretch"
|
|
52
53
|
},
|
|
53
54
|
option: {
|
|
54
55
|
width: "100%",
|
|
55
|
-
|
|
56
|
+
paddingVertical: 10,
|
|
57
|
+
paddingRight: 10,
|
|
58
|
+
paddingLeft: 0,
|
|
56
59
|
alignItems: "flex-start",
|
|
57
60
|
borderBottomWidth: 1,
|
|
58
61
|
borderBottomColor: theme.colors.gray[300]
|
|
@@ -69,8 +72,8 @@ const styles = props => {
|
|
|
69
72
|
});
|
|
70
73
|
};
|
|
71
74
|
|
|
72
|
-
/**
|
|
73
|
-
* EXPORTS
|
|
75
|
+
/**
|
|
76
|
+
* EXPORTS
|
|
74
77
|
*/
|
|
75
78
|
export { styles };
|
|
76
79
|
//# sourceMappingURL=styles.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["StyleSheet","theme","styles","props","_props$sizeTitleLabel","_props$colortitleLabe","create","container","width","marginBottom","label","fontSize","sizeTitleLabel","fontWeight","color","colortitleLabel","colors","black","selectBox","flexDirection","alignItems","justifyContent","height","borderWidth","borderColor","gray","borderRadius","backgroundColor","neutral","paddingHorizontal","selectedText","modalOverlay","flex","padding","modalContainer","option","borderBottomWidth","borderBottomColor","optionText","closeButtonText"],"sources":["styles.ts"],"sourcesContent":["/**\n * IMPORTS\n */\nimport { StyleSheet } from \"react-native\";\n\n// typings\nimport { ISelectDropDownProps } from \"./interface\";\n\n// theme\nimport { theme } from \"../../../styles/theme/theme\";\n\nconst styles = (props: ISelectDropDownProps) =>\n StyleSheet.create({\n container: {\n width: \"100%\",\n marginBottom: 16,\n },\n label: {\n fontSize: props.sizeTitleLabel ?? 16,\n fontWeight: \"bold\",\n color: props.colortitleLabel ?? theme.colors.black[100],\n marginBottom: 5,\n },\n selectBox: {\n flexDirection: \"row\",\n alignItems: \"center\",\n justifyContent: \"space-between\",\n width: \"100%\",\n height: 45,\n borderWidth: 1,\n borderColor: theme.colors.gray[700],\n borderRadius: 10,\n backgroundColor: theme.colors.neutral[25],\n paddingHorizontal: 10,\n },\n selectedText: {\n fontSize: 14,\n color: \"#666\",\n },\n modalOverlay: {\n flex: 1,\n backgroundColor: \"rgba(0,0,0,0.5)\",\n justifyContent: \"center\",\n alignItems: \"center\",\n padding: 24,\n },\n modalContainer: {\n width: \"100%\",\n backgroundColor: theme.colors.neutral[25],\n borderRadius: 10,\n
|
|
1
|
+
{"version":3,"names":["StyleSheet","theme","styles","props","_props$sizeTitleLabel","_props$colortitleLabe","create","container","width","marginBottom","label","fontSize","sizeTitleLabel","fontWeight","color","colortitleLabel","colors","black","selectBox","flexDirection","alignItems","justifyContent","height","borderWidth","borderColor","gray","borderRadius","backgroundColor","neutral","paddingHorizontal","selectedText","modalOverlay","flex","padding","modalContainer","paddingVertical","option","paddingRight","paddingLeft","borderBottomWidth","borderBottomColor","optionText","closeButtonText"],"sources":["styles.ts"],"sourcesContent":["/**\r\n * IMPORTS\r\n */\r\nimport { StyleSheet } from \"react-native\";\r\n\r\n// typings\r\nimport { ISelectDropDownProps } from \"./interface\";\r\n\r\n// theme\r\nimport { theme } from \"../../../styles/theme/theme\";\r\n\r\nconst styles = (props: ISelectDropDownProps) =>\r\n StyleSheet.create({\r\n container: {\r\n width: \"100%\",\r\n marginBottom: 16,\r\n },\r\n label: {\r\n fontSize: props.sizeTitleLabel ?? 16,\r\n fontWeight: \"bold\",\r\n color: props.colortitleLabel ?? theme.colors.black[100],\r\n marginBottom: 5,\r\n },\r\n selectBox: {\r\n flexDirection: \"row\",\r\n alignItems: \"center\",\r\n justifyContent: \"space-between\",\r\n width: \"100%\",\r\n height: 45,\r\n borderWidth: 1,\r\n borderColor: theme.colors.gray[700],\r\n borderRadius: 10,\r\n backgroundColor: theme.colors.neutral[25],\r\n paddingHorizontal: 10,\r\n },\r\n selectedText: {\r\n fontSize: 14,\r\n color: \"#666\",\r\n },\r\n modalOverlay: {\r\n flex: 1,\r\n backgroundColor: \"rgba(0,0,0,0.5)\",\r\n justifyContent: \"center\",\r\n alignItems: \"center\",\r\n padding: 24,\r\n },\r\n modalContainer: {\r\n width: \"100%\",\r\n backgroundColor: theme.colors.neutral[25],\r\n borderRadius: 10,\r\n paddingVertical: 15,\r\n paddingHorizontal: 20,\r\n alignItems: \"stretch\",\r\n },\r\n option: {\r\n width: \"100%\",\r\n paddingVertical: 10,\r\n paddingRight: 10,\r\n paddingLeft: 0,\r\n alignItems: \"flex-start\",\r\n borderBottomWidth: 1,\r\n borderBottomColor: theme.colors.gray[300],\r\n },\r\n optionText: {\r\n fontSize: 14,\r\n color: theme.colors.black[100],\r\n fontWeight: \"500\",\r\n },\r\n closeButtonText: {\r\n color: theme.colors.neutral[25],\r\n fontWeight: \"bold\",\r\n },\r\n });\r\n\r\n/**\r\n * EXPORTS\r\n */\r\nexport { styles };\r\n"],"mappings":"AAAA;AACA;AACA;AACA,SAASA,UAAU,QAAQ,cAAc;;AAEzC;;AAGA;AACA,SAASC,KAAK,QAAQ,6BAA6B;AAEnD,MAAMC,MAAM,GAAIC,KAA2B;EAAA,IAAAC,qBAAA,EAAAC,qBAAA;EAAA,OACzCL,UAAU,CAACM,MAAM,CAAC;IAChBC,SAAS,EAAE;MACTC,KAAK,EAAE,MAAM;MACbC,YAAY,EAAE;IAChB,CAAC;IACDC,KAAK,EAAE;MACLC,QAAQ,GAAAP,qBAAA,GAAED,KAAK,CAACS,cAAc,cAAAR,qBAAA,cAAAA,qBAAA,GAAI,EAAE;MACpCS,UAAU,EAAE,MAAM;MAClBC,KAAK,GAAAT,qBAAA,GAAEF,KAAK,CAACY,eAAe,cAAAV,qBAAA,cAAAA,qBAAA,GAAIJ,KAAK,CAACe,MAAM,CAACC,KAAK,CAAC,GAAG,CAAC;MACvDR,YAAY,EAAE;IAChB,CAAC;IACDS,SAAS,EAAE;MACTC,aAAa,EAAE,KAAK;MACpBC,UAAU,EAAE,QAAQ;MACpBC,cAAc,EAAE,eAAe;MAC/Bb,KAAK,EAAE,MAAM;MACbc,MAAM,EAAE,EAAE;MACV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AAM","ignoreList":[]}
|
|
@@ -37,12 +37,15 @@ declare const styles: (props: ISelectDropDownProps) => {
|
|
|
37
37
|
width: "100%";
|
|
38
38
|
backgroundColor: string;
|
|
39
39
|
borderRadius: number;
|
|
40
|
-
|
|
41
|
-
|
|
40
|
+
paddingVertical: number;
|
|
41
|
+
paddingHorizontal: number;
|
|
42
|
+
alignItems: "stretch";
|
|
42
43
|
};
|
|
43
44
|
option: {
|
|
44
45
|
width: "100%";
|
|
45
|
-
|
|
46
|
+
paddingVertical: number;
|
|
47
|
+
paddingRight: number;
|
|
48
|
+
paddingLeft: number;
|
|
46
49
|
alignItems: "flex-start";
|
|
47
50
|
borderBottomWidth: number;
|
|
48
51
|
borderBottomColor: string;
|
package/package.json
CHANGED
|
@@ -1,75 +1,78 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* IMPORTS
|
|
3
|
-
*/
|
|
4
|
-
import { StyleSheet } from "react-native";
|
|
5
|
-
|
|
6
|
-
// typings
|
|
7
|
-
import { ISelectDropDownProps } from "./interface";
|
|
8
|
-
|
|
9
|
-
// theme
|
|
10
|
-
import { theme } from "../../../styles/theme/theme";
|
|
11
|
-
|
|
12
|
-
const styles = (props: ISelectDropDownProps) =>
|
|
13
|
-
StyleSheet.create({
|
|
14
|
-
container: {
|
|
15
|
-
width: "100%",
|
|
16
|
-
marginBottom: 16,
|
|
17
|
-
},
|
|
18
|
-
label: {
|
|
19
|
-
fontSize: props.sizeTitleLabel ?? 16,
|
|
20
|
-
fontWeight: "bold",
|
|
21
|
-
color: props.colortitleLabel ?? theme.colors.black[100],
|
|
22
|
-
marginBottom: 5,
|
|
23
|
-
},
|
|
24
|
-
selectBox: {
|
|
25
|
-
flexDirection: "row",
|
|
26
|
-
alignItems: "center",
|
|
27
|
-
justifyContent: "space-between",
|
|
28
|
-
width: "100%",
|
|
29
|
-
height: 45,
|
|
30
|
-
borderWidth: 1,
|
|
31
|
-
borderColor: theme.colors.gray[700],
|
|
32
|
-
borderRadius: 10,
|
|
33
|
-
backgroundColor: theme.colors.neutral[25],
|
|
34
|
-
paddingHorizontal: 10,
|
|
35
|
-
},
|
|
36
|
-
selectedText: {
|
|
37
|
-
fontSize: 14,
|
|
38
|
-
color: "#666",
|
|
39
|
-
},
|
|
40
|
-
modalOverlay: {
|
|
41
|
-
flex: 1,
|
|
42
|
-
backgroundColor: "rgba(0,0,0,0.5)",
|
|
43
|
-
justifyContent: "center",
|
|
44
|
-
alignItems: "center",
|
|
45
|
-
padding: 24,
|
|
46
|
-
},
|
|
47
|
-
modalContainer: {
|
|
48
|
-
width: "100%",
|
|
49
|
-
backgroundColor: theme.colors.neutral[25],
|
|
50
|
-
borderRadius: 10,
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
1
|
+
/**
|
|
2
|
+
* IMPORTS
|
|
3
|
+
*/
|
|
4
|
+
import { StyleSheet } from "react-native";
|
|
5
|
+
|
|
6
|
+
// typings
|
|
7
|
+
import { ISelectDropDownProps } from "./interface";
|
|
8
|
+
|
|
9
|
+
// theme
|
|
10
|
+
import { theme } from "../../../styles/theme/theme";
|
|
11
|
+
|
|
12
|
+
const styles = (props: ISelectDropDownProps) =>
|
|
13
|
+
StyleSheet.create({
|
|
14
|
+
container: {
|
|
15
|
+
width: "100%",
|
|
16
|
+
marginBottom: 16,
|
|
17
|
+
},
|
|
18
|
+
label: {
|
|
19
|
+
fontSize: props.sizeTitleLabel ?? 16,
|
|
20
|
+
fontWeight: "bold",
|
|
21
|
+
color: props.colortitleLabel ?? theme.colors.black[100],
|
|
22
|
+
marginBottom: 5,
|
|
23
|
+
},
|
|
24
|
+
selectBox: {
|
|
25
|
+
flexDirection: "row",
|
|
26
|
+
alignItems: "center",
|
|
27
|
+
justifyContent: "space-between",
|
|
28
|
+
width: "100%",
|
|
29
|
+
height: 45,
|
|
30
|
+
borderWidth: 1,
|
|
31
|
+
borderColor: theme.colors.gray[700],
|
|
32
|
+
borderRadius: 10,
|
|
33
|
+
backgroundColor: theme.colors.neutral[25],
|
|
34
|
+
paddingHorizontal: 10,
|
|
35
|
+
},
|
|
36
|
+
selectedText: {
|
|
37
|
+
fontSize: 14,
|
|
38
|
+
color: "#666",
|
|
39
|
+
},
|
|
40
|
+
modalOverlay: {
|
|
41
|
+
flex: 1,
|
|
42
|
+
backgroundColor: "rgba(0,0,0,0.5)",
|
|
43
|
+
justifyContent: "center",
|
|
44
|
+
alignItems: "center",
|
|
45
|
+
padding: 24,
|
|
46
|
+
},
|
|
47
|
+
modalContainer: {
|
|
48
|
+
width: "100%",
|
|
49
|
+
backgroundColor: theme.colors.neutral[25],
|
|
50
|
+
borderRadius: 10,
|
|
51
|
+
paddingVertical: 15,
|
|
52
|
+
paddingHorizontal: 20,
|
|
53
|
+
alignItems: "stretch",
|
|
54
|
+
},
|
|
55
|
+
option: {
|
|
56
|
+
width: "100%",
|
|
57
|
+
paddingVertical: 10,
|
|
58
|
+
paddingRight: 10,
|
|
59
|
+
paddingLeft: 0,
|
|
60
|
+
alignItems: "flex-start",
|
|
61
|
+
borderBottomWidth: 1,
|
|
62
|
+
borderBottomColor: theme.colors.gray[300],
|
|
63
|
+
},
|
|
64
|
+
optionText: {
|
|
65
|
+
fontSize: 14,
|
|
66
|
+
color: theme.colors.black[100],
|
|
67
|
+
fontWeight: "500",
|
|
68
|
+
},
|
|
69
|
+
closeButtonText: {
|
|
70
|
+
color: theme.colors.neutral[25],
|
|
71
|
+
fontWeight: "bold",
|
|
72
|
+
},
|
|
73
|
+
});
|
|
74
|
+
|
|
75
|
+
/**
|
|
76
|
+
* EXPORTS
|
|
77
|
+
*/
|
|
78
|
+
export { styles };
|