@colisweb/rescript-toolkit 2.27.0 → 2.28.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@colisweb/rescript-toolkit",
3
- "version": "2.27.0",
3
+ "version": "2.28.0",
4
4
  "scripts": {
5
5
  "clean": "rescript clean",
6
6
  "build": "rescript build",
@@ -65,6 +65,9 @@ module SwrConfig = {
65
65
 
66
66
  @send
67
67
  external mutate: (t, 'key, 'data, bool) => unit = "mutate"
68
+
69
+ @module("swr") @react.component
70
+ external make: (~value: fetcherOptions=?, ~children: React.element) => React.element = "SWRConfig"
68
71
  }
69
72
 
70
73
  @module("swr")