@fluentui-react-native/tester 0.96.2 → 0.97.0
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/CHANGELOG.json +73 -1
- package/CHANGELOG.md +25 -2
- package/lib/TestComponents/Button/ButtonVariantTestSection.d.ts.map +1 -1
- package/lib/TestComponents/Button/ButtonVariantTestSection.js +3 -1
- package/lib/TestComponents/Button/ButtonVariantTestSection.js.map +1 -1
- package/lib-commonjs/TestComponents/Button/ButtonVariantTestSection.d.ts.map +1 -1
- package/lib-commonjs/TestComponents/Button/ButtonVariantTestSection.js +3 -1
- package/lib-commonjs/TestComponents/Button/ButtonVariantTestSection.js.map +1 -1
- package/package.json +8 -8
- package/src/TestComponents/Button/ButtonVariantTestSection.tsx +4 -1
package/CHANGELOG.json
CHANGED
|
@@ -2,7 +2,79 @@
|
|
|
2
2
|
"name": "@fluentui-react-native/tester",
|
|
3
3
|
"entries": [
|
|
4
4
|
{
|
|
5
|
-
"date": "
|
|
5
|
+
"date": "Fri, 23 Sep 2022 06:22:31 GMT",
|
|
6
|
+
"tag": "@fluentui-react-native/tester_v0.97.0",
|
|
7
|
+
"version": "0.97.0",
|
|
8
|
+
"comments": {
|
|
9
|
+
"minor": [
|
|
10
|
+
{
|
|
11
|
+
"author": "email not defined",
|
|
12
|
+
"package": "@fluentui-react-native/tester",
|
|
13
|
+
"commit": "a754fbf223bee8a06ca792e17db7ca2bd44373e0",
|
|
14
|
+
"comment": "make fab collapsible, fix fab bugs"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"author": "beachball",
|
|
18
|
+
"package": "@fluentui-react-native/tester",
|
|
19
|
+
"comment": "Bump @fluentui-react-native/button to v0.25.0",
|
|
20
|
+
"commit": "a754fbf223bee8a06ca792e17db7ca2bd44373e0"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"author": "beachball",
|
|
24
|
+
"package": "@fluentui-react-native/tester",
|
|
25
|
+
"comment": "Bump @fluentui-react-native/experimental-button to v0.16.27",
|
|
26
|
+
"commit": "a754fbf223bee8a06ca792e17db7ca2bd44373e0"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"author": "beachball",
|
|
30
|
+
"package": "@fluentui-react-native/tester",
|
|
31
|
+
"comment": "Bump @fluentui-react-native/experimental-menu-button to v0.4.31",
|
|
32
|
+
"commit": "a754fbf223bee8a06ca792e17db7ca2bd44373e0"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"author": "beachball",
|
|
36
|
+
"package": "@fluentui-react-native/tester",
|
|
37
|
+
"comment": "Bump @fluentui-react-native/menu to v1.0.37",
|
|
38
|
+
"commit": "a754fbf223bee8a06ca792e17db7ca2bd44373e0"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"author": "beachball",
|
|
42
|
+
"package": "@fluentui-react-native/tester",
|
|
43
|
+
"comment": "Bump @fluentui-react-native/notification to v0.17.10",
|
|
44
|
+
"commit": "a754fbf223bee8a06ca792e17db7ca2bd44373e0"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"author": "beachball",
|
|
48
|
+
"package": "@fluentui-react-native/tester",
|
|
49
|
+
"comment": "Bump @fluentui/react-native to v0.32.23",
|
|
50
|
+
"commit": "a754fbf223bee8a06ca792e17db7ca2bd44373e0"
|
|
51
|
+
}
|
|
52
|
+
]
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"date": "Thu, 22 Sep 2022 18:51:04 GMT",
|
|
57
|
+
"tag": "@fluentui-react-native/tester_v0.96.3",
|
|
58
|
+
"version": "0.96.3",
|
|
59
|
+
"comments": {
|
|
60
|
+
"patch": [
|
|
61
|
+
{
|
|
62
|
+
"author": "beachball",
|
|
63
|
+
"package": "@fluentui-react-native/tester",
|
|
64
|
+
"comment": "Bump @fluentui-react-native/experimental-checkbox to v0.12.18",
|
|
65
|
+
"commit": "1160d21823f10486e0c7bf9624aa2b43e0f13664"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"author": "beachball",
|
|
69
|
+
"package": "@fluentui-react-native/tester",
|
|
70
|
+
"comment": "Bump @fluentui/react-native to v0.32.22",
|
|
71
|
+
"commit": "1160d21823f10486e0c7bf9624aa2b43e0f13664"
|
|
72
|
+
}
|
|
73
|
+
]
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"date": "Thu, 22 Sep 2022 00:31:25 GMT",
|
|
6
78
|
"tag": "@fluentui-react-native/tester_v0.96.2",
|
|
7
79
|
"version": "0.96.2",
|
|
8
80
|
"comments": {
|
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,35 @@
|
|
|
1
1
|
# Change Log - @fluentui-react-native/tester
|
|
2
2
|
|
|
3
|
-
This log was last generated on
|
|
3
|
+
This log was last generated on Fri, 23 Sep 2022 06:22:31 GMT and should not be manually modified.
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
+
## 0.97.0
|
|
8
|
+
|
|
9
|
+
Fri, 23 Sep 2022 06:22:31 GMT
|
|
10
|
+
|
|
11
|
+
### Minor changes
|
|
12
|
+
|
|
13
|
+
- make fab collapsible, fix fab bugs (email not defined)
|
|
14
|
+
- Bump @fluentui-react-native/button to v0.25.0
|
|
15
|
+
- Bump @fluentui-react-native/experimental-button to v0.16.27
|
|
16
|
+
- Bump @fluentui-react-native/experimental-menu-button to v0.4.31
|
|
17
|
+
- Bump @fluentui-react-native/menu to v1.0.37
|
|
18
|
+
- Bump @fluentui-react-native/notification to v0.17.10
|
|
19
|
+
- Bump @fluentui/react-native to v0.32.23
|
|
20
|
+
|
|
21
|
+
## 0.96.3
|
|
22
|
+
|
|
23
|
+
Thu, 22 Sep 2022 18:51:04 GMT
|
|
24
|
+
|
|
25
|
+
### Patches
|
|
26
|
+
|
|
27
|
+
- Bump @fluentui-react-native/experimental-checkbox to v0.12.18
|
|
28
|
+
- Bump @fluentui/react-native to v0.32.22
|
|
29
|
+
|
|
7
30
|
## 0.96.2
|
|
8
31
|
|
|
9
|
-
Thu, 22 Sep 2022 00:31:
|
|
32
|
+
Thu, 22 Sep 2022 00:31:25 GMT
|
|
10
33
|
|
|
11
34
|
### Patches
|
|
12
35
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ButtonVariantTestSection.d.ts","sourceRoot":"","sources":["../../../src/TestComponents/Button/ButtonVariantTestSection.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAO/B,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,
|
|
1
|
+
{"version":3,"file":"ButtonVariantTestSection.d.ts","sourceRoot":"","sources":["../../../src/TestComponents/Button/ButtonVariantTestSection.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAO/B,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,iBAkDrC,CAAC"}
|
|
@@ -10,6 +10,8 @@ export var ButtonVariantTest = function () {
|
|
|
10
10
|
viewBox: '0 0 500 500',
|
|
11
11
|
};
|
|
12
12
|
var iconProps = { svgSource: svgProps, width: 20, height: 20 };
|
|
13
|
+
var _a = React.useState(true), showFABText = _a[0], setShowFABText = _a[1];
|
|
14
|
+
var flipFABcontent = React.useCallback(function () { return setShowFABText(!showFABText); }, [showFABText]);
|
|
13
15
|
return (React.createElement(View, { style: testContentRootViewStyle },
|
|
14
16
|
React.createElement(Button, { style: commonTestStyles.vmargin }, "Default"),
|
|
15
17
|
React.createElement(Button, { disabled: true, style: commonTestStyles.vmargin }, "Default Disabled"),
|
|
@@ -24,6 +26,6 @@ export var ButtonVariantTest = function () {
|
|
|
24
26
|
React.createElement(CompoundButton, { appearance: "primary", secondaryContent: "Compound", style: commonTestStyles.vmargin }, "Primary"),
|
|
25
27
|
React.createElement(CompoundButton, { appearance: "subtle", secondaryContent: "Compound", style: commonTestStyles.vmargin }, "Subtle"),
|
|
26
28
|
React.createElement(FAB, { icon: iconProps, style: commonTestStyles.vmargin }),
|
|
27
|
-
React.createElement(FAB, { icon: iconProps, style: commonTestStyles.vmargin }, "FAB")));
|
|
29
|
+
React.createElement(FAB, { icon: iconProps, style: commonTestStyles.vmargin, showContent: showFABText, onClick: flipFABcontent }, "FAB")));
|
|
28
30
|
};
|
|
29
31
|
//# sourceMappingURL=ButtonVariantTestSection.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ButtonVariantTestSection.js","sourceRoot":"","sources":["../../../src/TestComponents/Button/ButtonVariantTestSection.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,GAAG,EAAE,MAAM,4CAA4C,CAAC;AACzF,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACpC,OAAO,EAAE,gBAAgB,EAAE,wBAAwB,EAAE,MAAM,kBAAkB,CAAC;AAE9E,OAAO,OAAO,MAAM,YAAY,CAAC;AAEjC,8EAA8E;AAC9E,MAAM,CAAC,IAAM,iBAAiB,GAA4B;IACxD,IAAM,QAAQ,GAAiB;QAC7B,GAAG,EAAE,OAAO;QACZ,OAAO,EAAE,aAAa;KACvB,CAAC;IACF,IAAM,SAAS,GAAG,EAAE,SAAS,EAAE,QAAQ,EAAE,KAAK,EAAE,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"ButtonVariantTestSection.js","sourceRoot":"","sources":["../../../src/TestComponents/Button/ButtonVariantTestSection.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,GAAG,EAAE,MAAM,4CAA4C,CAAC;AACzF,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACpC,OAAO,EAAE,gBAAgB,EAAE,wBAAwB,EAAE,MA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C,OAAO,oBAEzD;QACT,oBAAC,MAAM,IAAC,UAAU,EAAC,QAAQ,EAAC,KAAK,QAAC,KAAK,EAAE,gBAAgB,CAAC,OAAO,mBAExD;QACT,oBAAC,cAAc,IAAC,gBAAgB,EAAC,UAAU,EAAC,KAAK,EAAE,gBAAgB,CAAC,OAAO,cAE1D;QACjB,oBAAC,cAAc,IAAC,UAAU,EAAC,SAAS,EAAC,gBAAgB,EAAC,UAAU,EAAC,KAAK,EAAE,gBAAgB,CAAC,OAAO,cAE/E;QACjB,oBAAC,cAAc,IAAC,UAAU,EAAC,QAAQ,EAAC,gBAAgB,EAAC,UAAU,EAAC,KAAK,EAAE,gBAAgB,CAAC,OAAO,aAE9E;QACjB,oBAAC,GAAG,IAAC,IAAI,EAAE,SAAS,EAAE,KAAK,EAAE,gBAAgB,CAAC,OAAO,GAAI;QACzD,oBAAC,GAAG,IAAC,IAAI,EAAE,SAAS,EAAE,KAAK,EAAE,gBAAgB,CAAC,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,OAAO,EAAE,cAAc,UAElG,CACD,CACR,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ButtonVariantTestSection.d.ts","sourceRoot":"","sources":["../../../src/TestComponents/Button/ButtonVariantTestSection.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAO/B,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,
|
|
1
|
+
{"version":3,"file":"ButtonVariantTestSection.d.ts","sourceRoot":"","sources":["../../../src/TestComponents/Button/ButtonVariantTestSection.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAO/B,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,iBAkDrC,CAAC"}
|
|
@@ -14,6 +14,8 @@ var ButtonVariantTest = function () {
|
|
|
14
14
|
viewBox: '0 0 500 500',
|
|
15
15
|
};
|
|
16
16
|
var iconProps = { svgSource: svgProps, width: 20, height: 20 };
|
|
17
|
+
var _a = React.useState(true), showFABText = _a[0], setShowFABText = _a[1];
|
|
18
|
+
var flipFABcontent = React.useCallback(function () { return setShowFABText(!showFABText); }, [showFABText]);
|
|
17
19
|
return (React.createElement(react_native_1.View, { style: styles_1.testContentRootViewStyle },
|
|
18
20
|
React.createElement(experimental_button_1.Button, { style: styles_1.commonTestStyles.vmargin }, "Default"),
|
|
19
21
|
React.createElement(experimental_button_1.Button, { disabled: true, style: styles_1.commonTestStyles.vmargin }, "Default Disabled"),
|
|
@@ -28,7 +30,7 @@ var ButtonVariantTest = function () {
|
|
|
28
30
|
React.createElement(experimental_button_1.CompoundButton, { appearance: "primary", secondaryContent: "Compound", style: styles_1.commonTestStyles.vmargin }, "Primary"),
|
|
29
31
|
React.createElement(experimental_button_1.CompoundButton, { appearance: "subtle", secondaryContent: "Compound", style: styles_1.commonTestStyles.vmargin }, "Subtle"),
|
|
30
32
|
React.createElement(experimental_button_1.FAB, { icon: iconProps, style: styles_1.commonTestStyles.vmargin }),
|
|
31
|
-
React.createElement(experimental_button_1.FAB, { icon: iconProps, style: styles_1.commonTestStyles.vmargin }, "FAB")));
|
|
33
|
+
React.createElement(experimental_button_1.FAB, { icon: iconProps, style: styles_1.commonTestStyles.vmargin, showContent: showFABText, onClick: flipFABcontent }, "FAB")));
|
|
32
34
|
};
|
|
33
35
|
exports.ButtonVariantTest = ButtonVariantTest;
|
|
34
36
|
//# sourceMappingURL=ButtonVariantTestSection.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ButtonVariantTestSection.js","sourceRoot":"","sources":["../../../src/TestComponents/Button/ButtonVariantTestSection.tsx"],"names":[],"mappings":";;;;AAAA,kFAAyF;AACzF,wDAA+B;AAC/B,6CAAoC;AACpC,2CAA8E;AAE9E,qEAAiC;AAEjC,8EAA8E;AACvE,IAAM,iBAAiB,GAA4B;IACxD,IAAM,QAAQ,GAAiB;QAC7B,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;QACT,oBAAC,4BAAM,IAAC,UAAU,EAAC,QAAQ,EAAC,KAAK,EAAE,yBAAgB,CAAC,OAAO,aAElD;QACT,oBAAC,4BAAM,IAAC,OAAO,2BAAwB;QACvC,oBAAC,4BAAM,IAAC,KAAK,QAAC,KAAK,EAAE,yBAAgB,CAAC,OAAO,YAEpC;QACT,oBAAC,4BAAM,IAAC,UAAU,EAAC,SAAS,EAAC,KAAK,QAAC,KAAK,EAAE,yBAAgB,CAAC,OAAO,oBAEzD;QACT,oBAAC,4BAAM,IAAC,UAAU,EAAC,QAAQ,EAAC,KAAK,QAAC,KAAK,EAAE,yBAAgB,CAAC,OAAO,mBAExD;QACT,oBAAC,oCAAc,IAAC,gBAAgB,EAAC,UAAU,EAAC,KAAK,EAAE,yBAAgB,CAAC,OAAO,cAE1D;QACjB,oBAAC,oCAAc,IAAC,UAAU,EAAC,SAAS,EAAC,gBAAgB,EAAC,UAAU,EAAC,KAAK,EAAE,yBAAgB,CAAC,OAAO,cAE/E;QACjB,oBAAC,oCAAc,IAAC,UAAU,EAAC,QAAQ,EAAC,gBAAgB,EAAC,UAAU,EAAC,KAAK,EAAE,yBAAgB,CAAC,OAAO,aAE9E;QACjB,oBAAC,yBAAG,IAAC,IAAI,EAAE,SAAS,EAAE,KAAK,EAAE,yBAAgB,CAAC,OAAO,GAAI;QACzD,oBAAC,yBAAG,IAAC,IAAI,EAAE,SAAS,EAAE,KAAK,EAAE,yBAAgB,CAAC,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,OAAO,EAAE,cAAc,UAElG,CACD,CACR,CAAC;AACJ,CAAC,CAAC;AAlDW,QAAA,iBAAiB,qBAkD5B"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluentui-react-native/tester",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.97.0",
|
|
4
4
|
"description": "A test app to test FluentUI React Native Components during development",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Microsoft <fluentuinativeowners@microsoft.com>",
|
|
@@ -40,15 +40,15 @@
|
|
|
40
40
|
"@fluentui-react-native/apple-theme": ">=0.15.0 <1.0.0",
|
|
41
41
|
"@fluentui-react-native/avatar": "^1.2.10",
|
|
42
42
|
"@fluentui-react-native/badge": ">=0.1.33 <1.0.0",
|
|
43
|
-
"@fluentui-react-native/button": ">=0.
|
|
43
|
+
"@fluentui-react-native/button": ">=0.25.0 <1.0.0",
|
|
44
44
|
"@fluentui-react-native/default-theme": ">=0.15.2 <1.0.0",
|
|
45
45
|
"@fluentui-react-native/dropdown": ">=0.4.1 <1.0.0",
|
|
46
46
|
"@fluentui-react-native/experimental-activity-indicator": ">=0.6.4 <1.0.0",
|
|
47
47
|
"@fluentui-react-native/experimental-avatar": ">=0.16.6 <1.0.0",
|
|
48
|
-
"@fluentui-react-native/experimental-button": "0.16.
|
|
49
|
-
"@fluentui-react-native/experimental-checkbox": "0.12.
|
|
48
|
+
"@fluentui-react-native/experimental-button": "0.16.27",
|
|
49
|
+
"@fluentui-react-native/experimental-checkbox": "0.12.18",
|
|
50
50
|
"@fluentui-react-native/experimental-expander": "0.4.5",
|
|
51
|
-
"@fluentui-react-native/experimental-menu-button": ">=0.4.
|
|
51
|
+
"@fluentui-react-native/experimental-menu-button": ">=0.4.31 <1.0.0",
|
|
52
52
|
"@fluentui-react-native/experimental-native-date-picker": ">=0.7.1 <1.0.0",
|
|
53
53
|
"@fluentui-react-native/experimental-radio-group": "^0.3.4",
|
|
54
54
|
"@fluentui-react-native/experimental-shadow": "0.2.20",
|
|
@@ -58,9 +58,9 @@
|
|
|
58
58
|
"@fluentui-react-native/framework": ">=0.8.4 <1.0.0",
|
|
59
59
|
"@fluentui-react-native/icon": "0.13.9",
|
|
60
60
|
"@fluentui-react-native/interactive-hooks": ">=0.18.6 <1.0.0",
|
|
61
|
-
"@fluentui-react-native/menu": "^1.0.
|
|
61
|
+
"@fluentui-react-native/menu": "^1.0.37",
|
|
62
62
|
"@fluentui-react-native/merge-props": ">=0.5.0 <1.0.0",
|
|
63
|
-
"@fluentui-react-native/notification": "0.17.
|
|
63
|
+
"@fluentui-react-native/notification": "0.17.10",
|
|
64
64
|
"@fluentui-react-native/stack": ">=0.7.8 <1.0.0",
|
|
65
65
|
"@fluentui-react-native/switch": "^0.6.8",
|
|
66
66
|
"@fluentui-react-native/text": ">=0.15.0 <1.0.0",
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
"@fluentui-react-native/themed-stylesheet": "^1.4.0",
|
|
70
70
|
"@fluentui-react-native/theming-utils": ">=0.15.2 <1.0.0",
|
|
71
71
|
"@fluentui-react-native/win32-theme": ">=0.21.2 <1.0.0",
|
|
72
|
-
"@fluentui/react-native": ">=0.32.
|
|
72
|
+
"@fluentui/react-native": ">=0.32.23 <1.0.0",
|
|
73
73
|
"@react-native-community/slider": "^4.2.0",
|
|
74
74
|
"@react-native-menu/menu": "^0.1.2",
|
|
75
75
|
"@react-native-picker/picker": "^2.2.1",
|
|
@@ -13,6 +13,9 @@ export const ButtonVariantTest: React.FunctionComponent = () => {
|
|
|
13
13
|
};
|
|
14
14
|
const iconProps = { svgSource: svgProps, width: 20, height: 20 };
|
|
15
15
|
|
|
16
|
+
const [showFABText, setShowFABText] = React.useState(true);
|
|
17
|
+
const flipFABcontent = React.useCallback(() => setShowFABText(!showFABText), [showFABText]);
|
|
18
|
+
|
|
16
19
|
return (
|
|
17
20
|
<View style={testContentRootViewStyle}>
|
|
18
21
|
<Button style={commonTestStyles.vmargin}>Default</Button>
|
|
@@ -48,7 +51,7 @@ export const ButtonVariantTest: React.FunctionComponent = () => {
|
|
|
48
51
|
Subtle
|
|
49
52
|
</CompoundButton>
|
|
50
53
|
<FAB icon={iconProps} style={commonTestStyles.vmargin} />
|
|
51
|
-
<FAB icon={iconProps} style={commonTestStyles.vmargin}>
|
|
54
|
+
<FAB icon={iconProps} style={commonTestStyles.vmargin} showContent={showFABText} onClick={flipFABcontent}>
|
|
52
55
|
FAB
|
|
53
56
|
</FAB>
|
|
54
57
|
</View>
|