You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Below is a list of components currently supported by `@mgcrea/react-native-swiftui`. These components leverage SwiftUI's native iOS capabilities while being controlled via React Native's JSX syntax.
137
137
138
+
### SwiftUI Tree Components
139
+
140
+
These components are used within the `<SwiftUI>` tree and accessed via `SwiftUI.*`:
|`Button`| A clickable button with customizable styles |`title`, `buttonStyle`, `disabled`, `style`, `onPress`| Supports styles like `default`, `plain`, `bordered`, etc. |
@@ -156,6 +160,16 @@ Below is a list of components currently supported by `@mgcrea/react-native-swift
|`SwiftUIPicker`| A native picker modal with search functionality |`isPresented`, `title`, `searchPlaceholder`, `options`, `selectedValue`, `autoDismiss`, `onSelect`| Full-screen native picker with search and categorization support |
170
+
|`SwiftUISheet`| A native modal sheet presentation |`isPresented`, `detents`, `onDismiss`, Children | Standalone sheet that can be used outside of SwiftUI tree |
171
+
|`SwiftUISheetPicker`| A native picker presented as a bottom sheet |`isPresented`, `title`, `searchPlaceholder`, `options`, `selectedValue`, `autoDismiss`, `onSelect`| Combines sheet presentation with picker functionality for a native iOS experience |
172
+
159
173
## Contribute
160
174
161
175
We welcome contributions! If you have ideas for new components, optimizations, or bug fixes, please fork the repository and submit a pull request. We also encourage you to open issues for any bugs or feature requests.
0 commit comments