parsec-hooks 1.0.1 → 1.0.2
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.
@@ -0,0 +1,20 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
4
|
+
value: true
|
5
|
+
});
|
6
|
+
exports.default = void 0;
|
7
|
+
|
8
|
+
var _react = require("react");
|
9
|
+
|
10
|
+
var _ali = require("remax/ali");
|
11
|
+
|
12
|
+
var _default = function _default(pageName) {
|
13
|
+
(0, _react.useEffect)(function () {
|
14
|
+
(0, _ali.setNavigationBar)({
|
15
|
+
title: pageName
|
16
|
+
});
|
17
|
+
}, [pageName]);
|
18
|
+
};
|
19
|
+
|
20
|
+
exports.default = _default;
|
@@ -0,0 +1,20 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
4
|
+
value: true
|
5
|
+
});
|
6
|
+
exports.default = void 0;
|
7
|
+
|
8
|
+
var _react = require("react");
|
9
|
+
|
10
|
+
var _wechat = require("remax/wechat");
|
11
|
+
|
12
|
+
var _default = function _default(pageName) {
|
13
|
+
(0, _react.useEffect)(function () {
|
14
|
+
(0, _wechat.setNavigationBarTitle)({
|
15
|
+
title: pageName
|
16
|
+
});
|
17
|
+
}, [pageName]);
|
18
|
+
};
|
19
|
+
|
20
|
+
exports.default = _default;
|