Skip to content

Commit fd38026

Browse files
committed
chore: link to React source code
1 parent 4c93bbc commit fd38026

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/jsx/jsx-runtime.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,11 @@
22
/* eslint-disable @typescript-eslint/no-empty-interface */
33
/**
44
* @file
5-
* Minimal JSX runtime for Satori.
5+
* Minimal JSX runtime for Satori adapted from React v19.1.
66
*
77
* Use the `@jsxImportSource` pragma directive in files containing JSX for Satori.
88
*
9+
* @see {@link https://github.com/facebook/react/blob/v19.1.0/packages/react/src/jsx/ReactJSXElement.js React JSX runtime implementation}
910
* @see {@link https://www.typescriptlang.org/docs/handbook/jsx.html TypeScript: JSX reference}
1011
* @see {@link https://www.typescriptlang.org/tsconfig/#jsxImportSource TSConfig: using "jsxImportSource" or `@jsxImportSource` pragma directive}
1112
* @see {@link https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/react/index.d.ts React typings `@types/react`}

0 commit comments

Comments
 (0)