@builder.io/sdk-react-native 0.1.10 → 0.1.11
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.
|
@@ -22,15 +22,10 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
22
22
|
__setModuleDefault(result, mod);
|
|
23
23
|
return result;
|
|
24
24
|
};
|
|
25
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
26
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
27
|
-
};
|
|
28
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
const BaseText_1 = __importDefault(require("../BaseText"));
|
|
30
26
|
const React = __importStar(require("react"));
|
|
31
27
|
const react_native_1 = require("react-native");
|
|
32
28
|
function FragmentComponent(props) {
|
|
33
|
-
return
|
|
34
|
-
React.createElement(BaseText_1.default, null, props.children)));
|
|
29
|
+
return React.createElement(react_native_1.View, null, props.children);
|
|
35
30
|
}
|
|
36
31
|
exports.default = FragmentComponent;
|
|
@@ -22,11 +22,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
22
22
|
__setModuleDefault(result, mod);
|
|
23
23
|
return result;
|
|
24
24
|
};
|
|
25
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
26
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
27
|
-
};
|
|
28
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
const BaseText_1 = __importDefault(require("../BaseText"));
|
|
30
26
|
const React = __importStar(require("react"));
|
|
31
27
|
const react_native_1 = require("react-native");
|
|
32
28
|
function SectionComponent(props) {
|
|
@@ -41,7 +37,6 @@ function SectionComponent(props) {
|
|
|
41
37
|
alignItems: "stretch",
|
|
42
38
|
marginLeft: "auto",
|
|
43
39
|
marginRight: "auto",
|
|
44
|
-
} },
|
|
45
|
-
React.createElement(BaseText_1.default, null, props.children)));
|
|
40
|
+
} }, props.children));
|
|
46
41
|
}
|
|
47
42
|
exports.default = SectionComponent;
|
package/package.json
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import BaseText from "../BaseText";
|
|
2
1
|
import * as React from "react";
|
|
3
2
|
import {
|
|
4
3
|
FlatList,
|
|
@@ -10,11 +9,7 @@ import {
|
|
|
10
9
|
} from "react-native";
|
|
11
10
|
|
|
12
11
|
function FragmentComponent(props) {
|
|
13
|
-
return
|
|
14
|
-
<View>
|
|
15
|
-
<BaseText>{props.children}</BaseText>
|
|
16
|
-
</View>
|
|
17
|
-
);
|
|
12
|
+
return <View>{props.children}</View>;
|
|
18
13
|
}
|
|
19
14
|
|
|
20
15
|
export default FragmentComponent;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import BaseText from "../BaseText";
|
|
2
1
|
import * as React from "react";
|
|
3
2
|
import {
|
|
4
3
|
FlatList,
|
|
@@ -26,7 +25,7 @@ function SectionComponent(props) {
|
|
|
26
25
|
marginRight: "auto",
|
|
27
26
|
}}
|
|
28
27
|
>
|
|
29
|
-
|
|
28
|
+
{props.children}
|
|
30
29
|
</View>
|
|
31
30
|
);
|
|
32
31
|
}
|