Skip to content

Commit e4c4112

Browse files
committed
Merge branch 'main' into ariakit-system
2 parents aaf2871 + e6145a4 commit e4c4112

7 files changed

Lines changed: 2222 additions & 1315 deletions

File tree

docs/getting-started.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ yarn add @adaptui/react-native-tailwind
1818
> installed.
1919
2020
> Also make sure to wrap your App with `GestureHandlerRootView` from
21-
> `react-native-gesture-handler`, and `TailwindThemeProvider` from
21+
> `react-native-gesture-handler`, and `AdaptUIProvider` from
2222
> `@adaptui/react-native-tailwind`
2323
2424
## Usage

example/package.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
"start": "expo start"
1212
},
1313
"dependencies": {
14-
"@react-navigation/drawer": "6.4.1",
15-
"@react-navigation/native": "6.0.10",
14+
"@react-navigation/drawer": "6.4.3",
15+
"@react-navigation/native": "6.0.11",
1616
"expo": "44.0.6",
1717
"react": "17.0.1",
1818
"react-dom": "17.0.1",
@@ -22,22 +22,22 @@
2222
"react-native-reanimated": "2.3.1",
2323
"react-native-safe-area-context": "3.3.2",
2424
"react-native-screens": "3.10.1",
25-
"react-native-web": "0.18.1",
26-
"twrnc": "3.3.2"
25+
"react-native-web": "0.18.7",
26+
"twrnc": "3.3.3"
2727
},
2828
"devDependencies": {
29-
"@babel/core": "7.18.2",
30-
"@babel/runtime": "7.18.3",
29+
"@babel/core": "7.18.9",
30+
"@babel/runtime": "7.18.9",
3131
"@types/react": "17.0.30",
3232
"@types/react-native": "0.64.24",
33-
"babel-loader": "^8.2.5",
33+
"babel-loader": "8.2.5",
3434
"babel-plugin-module-resolver": "4.1.0",
3535
"babel-preset-expo": "9.1.0",
36-
"expo-cli": "5.4.9"
36+
"expo-cli": "6.0.0"
3737
},
3838
"resolutions": {
3939
"**/@types/react": "17.0.30",
40-
"react-error-overlay": "6.0.9",
40+
"react-error-overlay": "6.0.11",
4141
"react-native-reanimated": "2.3.1"
4242
}
4343
}

example/src/App.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import React from "react";
22
import { LogBox, SafeAreaView, StatusBar } from "react-native";
33
import { GestureHandlerRootView } from "react-native-gesture-handler";
4-
import { TailwindThemeProvider } from "@adaptui/react-native-tailwind";
4+
import { AdaptUIProvider } from "@adaptui/react-native-tailwind";
55
import { NavigationContainer } from "@react-navigation/native";
66
import tailwind from "twrnc";
77

@@ -18,9 +18,9 @@ const App = () => {
1818
`flex-1 android:mt-[${StatusBar.currentHeight || 0}px]`,
1919
)}
2020
>
21-
<TailwindThemeProvider>
21+
<AdaptUIProvider>
2222
<AppRoot />
23-
</TailwindThemeProvider>
23+
</AdaptUIProvider>
2424
</SafeAreaView>
2525
</NavigationContainer>
2626
</GestureHandlerRootView>

0 commit comments

Comments
 (0)