We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd73b8d commit 329347aCopy full SHA for 329347a
packages/react/runtime/src/mtc/pickJSXFromProps.ts
@@ -0,0 +1,13 @@
1
+// Copyright 2025 The Lynx Authors. All rights reserved.
2
+// Licensed under the Apache License Version 2.0 that can be found in the
3
+// LICENSE file in the root directory of this source tree.
4
+import type { ReactNode } from 'react';
5
+
6
+type JSXRecord = Record<string, {
7
+ $$typeof: symbol;
8
+ i: number;
9
+}>;
10
11
+function pickJSXfromProps(props): [ReactNode, JSXRecord] {
12
+ // transform jsx to { $$typeof: Symbol, i: 0 } in Record
13
+}
0 commit comments