You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/turbo-native-modules.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -49,6 +49,10 @@ To create a specs file:
49
49
You can see all of the types you can use in your specification and the native types that are generated in the [Appendix](/docs/appendix) documentation.
50
50
:::
51
51
52
+
:::info
53
+
If you want to change the name of your module and the related specs file, make sure to always use 'Native' as prefix (e.g. `NativeStorage` or `NativeUsersDefault`).
54
+
:::
55
+
52
56
Here is an implementation of the `localStorage` specification:
Copy file name to clipboardExpand all lines: website/versioned_docs/version-0.77/turbo-native-modules.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -45,6 +45,10 @@ To create a specs file:
45
45
You can see all of the types you can use in your specification and the native types that are generated in the [Appendix](/appendix.md) documentation.
46
46
:::
47
47
48
+
:::info
49
+
If you want to change the name of your module and the related specs file, make sure to always use 'Native' as prefix (e.g. `NativeStorage` or `NativeUsersDefault`).
50
+
:::
51
+
48
52
Here is an implementation of the `localStorage` specification:
0 commit comments