Overview of React Native Troika libraries
masterReact Native Troika is a collection of native UI components designed to extend React Native capabilities. The available packages include:
- @sdcx/nested-scroll: Implements nested scrolling, compatible with
PagerView,TabView, etc. - @sdcx/pull-to-refresh: Provides pull-to-refresh capabilities with customization at the React layer.
- @sdcx/bottom-sheet: A port of Android's
BottomSheetBehaviorto React Native, supporting both Android and iOS. The 1.x version supports the New Architecture (RN >= 0.82). - @sdcx/activity-indicator: Provides an iOS-style activity indicator for Android.
- @sdcx/image-crop: A specialized View for image cropping (e.g., avatars) that allows for easy custom layout integration.
- @sdcx/keyboard-insets: Handles soft keyboard overlapping issues. It features an automatic mode that requires no extra code and can be used to build chat-like interfaces.
- @sdcx/overlay: A native UI infrastructure that floats above the app, used for implementing Modals, Alerts, Toasts, Popovers, Notifications, and Hoverballs.
- @sdcx/wheel-picker: A simple wheel picker component.