diff --git a/CHANGELOG.md b/CHANGELOG.md index 992fc49..a52acce 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog of `@rescript-react-native/svg` +## 14.0.0 - 2024-04-08 + +- rescript 11 and @rescript/react 12 [#16](https://github.com/rescript-react-native/svg/pull/16) by [@Freddy03h](https://github.com/Freddy03h) + ## 13.0.1 - 2024-04-07 - Add children prop to Pattern [a39ed57](https://github.com/rescript-react-native/svg/commit/a39ed57) by [@Freddy03h](https://github.com/Freddy03h) diff --git a/package.json b/package.json index 0a16468..244cd22 100644 --- a/package.json +++ b/package.json @@ -1,13 +1,13 @@ { "name": "@rescript-react-native/svg", "description": "ReScript bindings for react-native-svg.", - "version": "13.0.1", + "version": "14.0.0", "publishConfig": { "access": "public" }, "peerDependencies": { "@rescript/react": ">=0.12.0", - "react-native-svg": ">=13.0.0", + "react-native-svg": ">=14.0.0", "rescript-react-native": ">=0.71.0" }, "repository": "https://github.com/rescript-react-native/svg.git", diff --git a/src/ReactNativeSvg.res b/src/ReactNativeSvg.res index a8ee558..b1873dc 100644 --- a/src/ReactNativeSvg.res +++ b/src/ReactNativeSvg.res @@ -99,7 +99,7 @@ module SvgXml = { // https://github.com/react-native-community/react-native-svg#css-support module SvgCss = { - @react.component @module("react-native-svg") + @react.component @module("react-native-svg/css") external make: ( ~xml: string, ~width: size=?,