### Install React Native UI DevKit Source: https://reactnativeuidevkit.com/docs/Introduction/Getting-Started Installs the core react-native-ui-devkit package using npm. ```bash npm install react-native-ui-devkit ``` -------------------------------- ### Install iOS Pods Source: https://reactnativeuidevkit.com/docs/Introduction/Getting-Started Installs necessary pods for iOS development after installing the library and its dependencies. ```bash cd ios && pod install ``` -------------------------------- ### Install Peer Dependencies (npm) Source: https://reactnativeuidevkit.com/docs/Introduction/Getting-Started Installs all required peer dependencies for React Native UI DevKit using npm. ```bash npm install react-native-gesture-handler react-native-device-info react-native-vector-icons react-native-sfsymbols react-native-haptic-feedback react-native-reanimated ``` -------------------------------- ### Install Peer Dependencies (pnpm) Source: https://reactnativeuidevkit.com/docs/Introduction/Getting-Started Installs all required peer dependencies for React Native UI DevKit using pnpm. ```bash pnpm add react-native-gesture-handler react-native-device-info react-native-vector-icons react-native-sfsymbols react-native-haptic-feedback react-native-reanimated ``` -------------------------------- ### Install Peer Dependencies (Yarn) Source: https://reactnativeuidevkit.com/docs/Introduction/Getting-Started Installs all required peer dependencies for React Native UI DevKit using Yarn. ```bash yarn add react-native-gesture-handler react-native-device-info react-native-vector-icons react-native-sfsymbols react-native-haptic-feedback react-native-reanimated ``` -------------------------------- ### Run Android Project Source: https://reactnativeuidevkit.com/docs/Introduction/Getting-Started Command to run the React Native application on an Android emulator or device. ```bash npx react-native run-android ``` -------------------------------- ### Configure RNUIDevKitProvider Source: https://reactnativeuidevkit.com/docs/Introduction/Getting-Started Demonstrates how to import and use the RNUIDevKitProvider in your React Native application to manage theme and background colors. ```javascript import React from 'react'; // React Native UI DevKit import {RNUIDevKitProvider} from 'react-native-ui-devkit' const App=()=>{ return( {...} ); } export default App; ``` -------------------------------- ### Install Dependencies (npm) Source: https://reactnativeuidevkit.com/docs/Library Installs the necessary Node.js dependencies for the project using npm. ```bash npminstall ``` -------------------------------- ### Install Dependencies (Yarn) Source: https://reactnativeuidevkit.com/docs/Library Installs the necessary Node.js dependencies for the project using Yarn. ```bash yarninstall ``` -------------------------------- ### Install Dependencies (pnpm) Source: https://reactnativeuidevkit.com/docs/Library Installs the necessary Node.js dependencies for the project using pnpm. ```bash pnpinstall ``` -------------------------------- ### Install iOS Pods Source: https://reactnativeuidevkit.com/docs/Library Installs the required CocoaPods dependencies for iOS development after cloning the repository. ```bash cd ios && pod install ``` -------------------------------- ### Install React Native Vector Icons Source: https://reactnativeuidevkit.com/docs/Introduction/Troubleshooting This section addresses issues related to the react-native-vector-icons package. Proper installation is crucial for icon rendering. Follow the platform-specific guides for Android and iOS. ```bash # General Installation npm install react-native-vector-icons # or yarn add react-native-vector-icons # Android Specifics # Refer to: https://github.com/oblador/react-native-vector-icons#android # iOS Specifics # Refer to: https://github.com/oblador/react-native-vector-icons#ios ``` -------------------------------- ### Install Dependencies (npm, Yarn, pnpm) Source: https://reactnativeuidevkit.com/docs/Layout Install project dependencies using npm, Yarn, or pnpm. For iOS development on Mac, ensure pods are installed via Cocoapods. ```bash npminstall ``` ```bash yarninstall ``` ```bash pnpinstall ``` ```bash cd ios && pod install ``` -------------------------------- ### Install React Native UI DevKit Source: https://reactnativeuidevkit.com/docs/Introduction/Troubleshooting Ensures the react-native-ui-devkit package is installed in your project. If you encounter issues, verify its presence in package.json or reinstall it. ```bash npm install react-native-ui-devkit # or yarn add react-native-ui-devkit ``` -------------------------------- ### Run React Native Application Source: https://reactnativeuidevkit.com/docs/Library Starts the React Native application on an Android emulator or device. ```bash npx react-native run-android ``` -------------------------------- ### Clone Repository Source: https://reactnativeuidevkit.com/docs/Layout Clone the React Native UI DevKit Layout repository from GitHub to start using the project. ```bash git clone https://github.com/reactnativeuidevkit/react-native-ui-devkit-layout.git ``` -------------------------------- ### RNUIDevKitProvider Usage Example Source: https://reactnativeuidevkit.com/docs/Introduction/Provider Demonstrates how to integrate the RNUIDevKitProvider with React Navigation to manage application-wide theming and native-style navigability. It shows the necessary imports and the structure for wrapping navigation stacks. ```javascript import React from 'react'; import { NavigationContainer } from '@react-navigation/native'; import { createNativeStackNavigator } from '@react-navigation/native-stack'; // RNUIDevKitProvider import { RNUIDevKitProvider, Item } from 'react-native-ui-devkit'; const Stack = createNativeStackNavigator(); const App = () => { const Component = (props) => { return ( {} }} /> ) } return ( ); } export default App; ``` -------------------------------- ### Button Usage Example (JavaScript) Source: https://reactnativeuidevkit.com/docs/Components/Button Provides a JavaScript example for using the Button component from React Native UI DevKit. This snippet illustrates the import and data structure for the button. ```javascript import React from 'react'; // React Native UI DevKit import {Button} from 'react-native-ui-devkit'; const App = () => { const _item = { title: 'Button', onPress: () => {} }; return (