8000 GitHub - sdcxtech/react-native-troika: Native UI Component for React Native, including nested-scroll, pull-to-refresh, bottom-sheet, etc.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Native UI Component for React Native, including nested-scroll, pull-to-refresh, bottom-sheet, etc.

Notifications You must be signed in to change notification settings

sdcxtech/react-native-troika

Repository files navigation

React Native 原生 UI 组件

本仓库包含一系列原生组件:

版本兼容

版本 RN 版本 新旧架构
0.x >= 0.67 旧架构
1.x(WIP) >= 0.76 新架构
RN 版本 iOS Android 三方库版本
0.72(2023.06) 最低支持 iOS 12.4
0.73(2023.11) 最低支持 iOS 13.4 支持 Android 14
必须 Java 17
react-native-gesture-handler@2.14.0,
react-native-reanimated@3.15.0,
react-native-drop-shadow@1.0.0
0.74(2024.04) arm64 设置 minSdkVersion 23 react-native-safe-area-context@^5.4.0
0.75(2024.08) kotlin 实现
仅支持 androidx
0.76(2024.10)
支持 boxShadow
最低支持 iOS 15.1
支持 Xcode16.3
minSdkVersion 24 react-native-reanimated@^3.17.5
0.77(2025.01) Swift 模版 支持 Android 15
16 KB pages
react-native-gesture-handler@^2.25.0
react-native-drop-shadow@^1.0.3

用于实现嵌套滚动,使用简单。可以和 PagerView,TabView 等组合使用。

提供了在 React 层自定义下拉刷新的能力。

将 Android 的 BottomSheetBehavior 迁移到了 React Native 中,在 API 设计上也尽量和 Android 保持一致,同时支持 iOS。

在 Android 上实现了和 iOS 类似的菊花组件。

用来实现头像裁剪,和社区其它方安不同,仅仅只是个 View,非常方便页面的自定义布局。

也可以用来实现图片裁剪,支持设置裁剪区域。

KeyboardInsetsView 是一个 React Native 原生 UI 组件,用于处理软键盘遮挡输入框的问题。自动模式下使用非常简单,不需要额外代码来处理键盘。

如果想要实现类似聊天界面那样的效果,也不在话下。

Overlay 是一个 React Native 原生 UI 基础设施,它漂浮在你的 React Native 应用之上,可用于实现 Modal, Alert, Toast, Popover, Notification, Hoverball 等顶层 UI。

一个非常简单的 WheelPicker

一个非常帅的 WheelPicker

About

Native UI Component for React Native, including nested-scroll, pull-to-refresh, bottom-sheet, etc.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  
0