diff --git a/CHANGELOG.md b/CHANGELOG.md index c894912..dafaccb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog of `@rescript-react-native/safe-area-context` +## 4.6.0 - 2024-10-25 + +- update to rescript 11 and rescript-react-native 0.73 [f2c6ed3](https://github.com/rescript-react-native/rescript-react-native/commit/f2c6ed3) by [Freddy03h](https://github.com/Freddy03h) +- update SafeAreaView edges prop to use [edgeMode](https://github.com/th3rdwave/react-native-safe-area-context?tab=readme-ov-file#edges) [a1dc675](https://github.com/rescript-react-native/rescript-react-native/commit/a1dc675) by [Freddy03h](https://github.com/Freddy03h) + ## 4.1.0 - 2024-04-08 - rescript 10, @rescript/react 11 and jsx 4 [#9](https://github.com/rescript-react-native/safe-area-context/pull/9) by [@DCKT](https://github.com/DCKT) diff --git a/README.md b/README.md index da3d160..f16a848 100644 --- a/README.md +++ b/README.md @@ -90,7 +90,7 @@ See open ReactNative; open ReactNativeSafeAreaContext; -[@react.component] +@react.component let make = () => { // your app... @@ -108,7 +108,7 @@ See for open ReactNative; open ReactNativeSafeAreaContext; -[@react.component] +@react.component let make = () => { let insets = useSafeAreaInsets(); ; @@ -121,7 +121,7 @@ let make = () => { open ReactNative; open ReactNativeSafeAreaContext; -[@react.component] +@react.component let make = () => { let frame = useSafeAreaFrame(); ; @@ -134,7 +134,7 @@ let make = () => { open ReactNative; open ReactNativeSafeAreaContext; -[@react.component] +@react.component let make = () => { // your component, handy for classes @@ -149,7 +149,7 @@ let make = () => { open ReactNative; open ReactNativeSafeAreaContext; -[@react.component] +@react.component let make = () => { diff --git a/package-lock.json b/package-lock.json index 69348fc..4a953eb 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@rescript-react-native/safe-area-context", - "version": "4.1.0", + "version": "4.6.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@rescript-react-native/safe-area-context", - "version": "4.1.0", + "version": "4.6.0", "license": "MIT", "devDependencies": { "@rescript/react": "^0.12.2", @@ -19,7 +19,7 @@ }, "peerDependencies": { "@rescript/react": ">=0.12.0", - "react-native-safe-area-context": ">=4.1.0", + "react-native-safe-area-context": ">=4.6.0", "rescript-react-native": ">=0.73.1" } }, diff --git a/package.json b/package.json index 0710808..006ed4f 100644 --- a/package.json +++ b/package.json @@ -1,12 +1,12 @@ { "name": "@rescript-react-native/safe-area-context", "description": "ReScript bindings for react-native-safe-area-context.", - "version": "4.1.0", + "version": "4.6.0", "publishConfig": { "access": "public" }, "peerDependencies": { - "react-native-safe-area-context": ">=4.1.0", + "react-native-safe-area-context": ">=4.6.0", "@rescript/react": ">=0.12.0", "rescript-react-native": ">=0.73.1" },