@react-native-ama/lists 1.1.1 → 1.1.3

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.
@@ -20,6 +20,7 @@ const react_native_1 = require("react-native");
20
20
  exports.StaticFlatList = react_1.default.forwardRef((_a, ref) => {
21
21
  var { data, numColumns, rowsCount } = _a, rest = __rest(_a, ["data", "numColumns", "rowsCount"]);
22
22
  const columns = numColumns || 1;
23
+ // @ts-ignore
23
24
  const rows = react_1.default.useMemo(() => {
24
25
  if (rowsCount) {
25
26
  return rowsCount;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-native-ama/lists",
3
- "version": "1.1.1",
3
+ "version": "1.1.3",
4
4
  "react-native": "src/index",
5
5
  "types": "dist/index.d.ts",
6
6
  "main": "dist/index.js",
@@ -22,8 +22,8 @@
22
22
  "typecheck": "tsc --noEmit"
23
23
  },
24
24
  "dependencies": {
25
- "@react-native-ama/core": "~1.1.1",
26
- "@react-native-ama/internal": "~1.1.1"
25
+ "@react-native-ama/core": "~1.1.3",
26
+ "@react-native-ama/internal": "~1.1.3"
27
27
  },
28
28
  "peerDependencies": {
29
29
  "expo": ">=47.0.0",
@@ -12,6 +12,7 @@ export const StaticFlatList = React.forwardRef<
12
12
  >(({ data, numColumns, rowsCount, ...rest }, ref) => {
13
13
  const columns = numColumns || 1;
14
14
 
15
+ // @ts-ignore
15
16
  const rows = React.useMemo(() => {
16
17
  if (rowsCount) {
17
18
  return rowsCount;