orn-ui 0.2.1 → 0.2.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.
- package/README.md +5 -5
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -95,11 +95,11 @@ const insets = useSafeAreaInsets();
|
|
|
95
95
|
Every component's full prop table lives on [orn-ui-docs.vercel.app](https://orn-ui-docs.vercel.app/).
|
|
96
96
|
|
|
97
97
|
### SearchList & List Features
|
|
98
|
-
- **Search &
|
|
99
|
-
- **
|
|
100
|
-
- **Pull-to-
|
|
101
|
-
- **
|
|
102
|
-
- **
|
|
98
|
+
- **Search & scan**: built-in search bar with an optional scan action and an extra slot for your own controls.
|
|
99
|
+
- **Skeleton first load**: `skeletonCount` and `renderSkeletonItem` draw placeholders shaped like the real rows.
|
|
100
|
+
- **Pull-to-refresh**: native, through `onRefresh` and `isRefreshing`.
|
|
101
|
+
- **Pagination & headers/footers**: `ListHeaderComponent` and `ListFooterComponent` coexist with the `isLoadingMore` indicator and `noMoreText`.
|
|
102
|
+
- **Non-destructive empty state**: `ListEmptyComponent` keeps the header, the footer and the scroll/refresh gestures.
|
|
103
103
|
|
|
104
104
|
### Worth knowing
|
|
105
105
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "orn-ui",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.2",
|
|
4
4
|
"description": "Fast, tree-shakeable, atomic-design component library for React Native. Zero runtime dependencies.",
|
|
5
5
|
"author": "David Trujillo <davot098@gmail.com>",
|
|
6
6
|
"main": "lib/commonjs/index.js",
|