diff --git a/website/versioned_docs/version-0.78/turbo-native-modules.md b/website/versioned_docs/version-0.78/turbo-native-modules.md index 8493c1febca..30f1942f5dc 100644 --- a/website/versioned_docs/version-0.78/turbo-native-modules.md +++ b/website/versioned_docs/version-0.78/turbo-native-modules.md @@ -45,6 +45,10 @@ To create a specs file: 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. ::: +:::info +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`). +::: + Here is an implementation of the `localStorage` specification: diff --git a/website/versioned_docs/version-0.79/turbo-native-modules.md b/website/versioned_docs/version-0.79/turbo-native-modules.md index 8493c1febca..30f1942f5dc 100644 --- a/website/versioned_docs/version-0.79/turbo-native-modules.md +++ b/website/versioned_docs/version-0.79/turbo-native-modules.md @@ -45,6 +45,10 @@ To create a specs file: 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. ::: +:::info +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`). +::: + Here is an implementation of the `localStorage` specification: diff --git a/website/versioned_docs/version-0.80/turbo-native-modules.md b/website/versioned_docs/version-0.80/turbo-native-modules.md index 8493c1febca..30f1942f5dc 100644 --- a/website/versioned_docs/version-0.80/turbo-native-modules.md +++ b/website/versioned_docs/version-0.80/turbo-native-modules.md @@ -45,6 +45,10 @@ To create a specs file: 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. ::: +:::info +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`). +::: + Here is an implementation of the `localStorage` specification: diff --git a/website/versioned_docs/version-0.81/turbo-native-modules.md b/website/versioned_docs/version-0.81/turbo-native-modules.md index d409797576e..04cb5ab3c81 100644 --- a/website/versioned_docs/version-0.81/turbo-native-modules.md +++ b/website/versioned_docs/version-0.81/turbo-native-modules.md @@ -49,6 +49,10 @@ To create a specs file: 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. ::: +:::info +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`). +::: + Here is an implementation of the `localStorage` specification: diff --git a/website/versioned_docs/version-0.82/turbo-native-modules.md b/website/versioned_docs/version-0.82/turbo-native-modules.md index 424edf9924d..eeef8624578 100644 --- a/website/versioned_docs/version-0.82/turbo-native-modules.md +++ b/website/versioned_docs/version-0.82/turbo-native-modules.md @@ -49,6 +49,10 @@ To create a specs file: 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. ::: +:::info +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`). +::: + Here is an implementation of the `localStorage` specification: diff --git a/website/versioned_docs/version-0.83/turbo-native-modules.md b/website/versioned_docs/version-0.83/turbo-native-modules.md index 424edf9924d..eeef8624578 100644 --- a/website/versioned_docs/version-0.83/turbo-native-modules.md +++ b/website/versioned_docs/version-0.83/turbo-native-modules.md @@ -49,6 +49,10 @@ To create a specs file: 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. ::: +:::info +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`). +::: + Here is an implementation of the `localStorage` specification: