@onekeyfe/react-native-skeleton 3.0.179-alpha.302 → 3.0.179-alpha.303

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.
Files changed (2) hide show
  1. package/README.md +0 -12
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -45,18 +45,6 @@ actual content.
45
45
  The current interface is in [src/Skeleton.nitro.ts](src/Skeleton.nitro.ts), and
46
46
  the public component is exported from [src/index.tsx](src/index.tsx).
47
47
 
48
- ## Loading-state ownership
49
-
50
- `SkeletonView` is the exported native host component. The package declares no
51
- `onLoad`, `onError` or network-request prop: the application removes or hides
52
- the placeholder when its own loading state changes.
53
-
54
- `shimmerGradientColors` supplies a string array rather than React Native color
55
- objects, and `shimmerSpeed` is a duration rather than frames per second.
56
- Preserve layout dimensions when replacing the skeleton with loaded content if
57
- the consumer needs to avoid a layout shift. Native animation results remain
58
- separate from the application's data-loading completion.
59
-
60
48
  ## License
61
49
 
62
50
  MIT.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onekeyfe/react-native-skeleton",
3
- "version": "3.0.179-alpha.302",
3
+ "version": "3.0.179-alpha.303",
4
4
  "description": "Native shimmer loading placeholder for OneKey on iOS and Android",
5
5
  "main": "./lib/module/index.js",
6
6
  "types": "./lib/typescript/src/index.d.ts",