mirror of
https://github.com/oven-sh/bun
synced 2026-02-09 10:28:47 +00:00
fix incorrect comment
This commit is contained in:
@@ -985,7 +985,7 @@ pub const E = struct {
|
||||
/// lineNumber: number | null,
|
||||
/// }```
|
||||
/// - `children`:
|
||||
/// - multiple children? the function is React.jsxsDEV, "jsxs" instead of "jsx"
|
||||
/// - static children? the function is React.jsxsDEV, "jsxs" instead of "jsx"
|
||||
/// - one child? the function is React.jsxDEV,
|
||||
/// - no children? the function is React.jsxDEV and children is an empty array.
|
||||
/// `isStaticChildren`: https://github.com/facebook/react/blob/4ca62cac45c288878d2532e5056981d177f9fdac/packages/react/src/jsx/ReactJSXElementValidator.js#L369-L384
|
||||
|
||||
Reference in New Issue
Block a user