From 2b3726b6a3b8f2e6d83deb1ca5159acafa8dab47 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rub=C3=A9n=20Norte?= Date: Tue, 15 Apr 2025 08:34:41 -0700 Subject: [PATCH] Add README explaning why we have the Fantom specs in src/private (#50723) Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/50723 Changelog: [internal] TSIA Reviewed By: huntie Differential Revision: D73027410 fbshipit-source-id: c48c384373bd906344a9604a17102b1e9881b34f --- .../testing/fantom/specs/__docs__/README.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 packages/react-native/src/private/testing/fantom/specs/__docs__/README.md diff --git a/packages/react-native/src/private/testing/fantom/specs/__docs__/README.md b/packages/react-native/src/private/testing/fantom/specs/__docs__/README.md new file mode 100644 index 00000000000..5417edef807 --- /dev/null +++ b/packages/react-native/src/private/testing/fantom/specs/__docs__/README.md @@ -0,0 +1,19 @@ +# Fantom + +[🏠 Home](../../../../../../../../__docs__/README.md) + +This directory contains the specifications for internal native modules used by +Fantom. These are not meant to be consumed directly. + +> [!NOTE] +> +> These definitions are here (in the `react-native` package) and not in the +> `@react-native/fantom` package just for convenience, to reuse the same codegen +> configuration we already have (that is configured to look for definitions in +> `src/`). + +## 🔗 Relationship with other systems + +### Part of + +- [Fantom](../../../../../../../react-native-fantom/__docs__/README.md).