diff options
-rw-r--r-- | src/js_ast.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/js_ast.zig b/src/js_ast.zig index 9ddafdf80..3b077fd27 100644 --- a/src/js_ast.zig +++ b/src/js_ast.zig @@ -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 |