mirror of
https://github.com/oxc-project/oxc.git
synced 2026-09-14 19:36:11 +08:00
eff863b1c8
## Summary - add a recursive local fixture runner with consolidated JS, JSX, TS, and TSX coverage cases to address missing test coverage
23 lines
507 B
React
23 lines
507 B
React
const value = 1;
|
|
const props = { value };
|
|
const tree = (
|
|
<Ns.Component
|
|
title="plain"
|
|
quote={'contains " a quote'}
|
|
enabled
|
|
{...props}
|
|
>
|
|
text {value}
|
|
<span>{/* comment */}child</span>
|
|
<>
|
|
<Leaf />
|
|
{value + 1}
|
|
</>
|
|
{...items}
|
|
</Ns.Component>
|
|
);
|
|
const namespaced = <svg:path xml:lang="en" />;
|
|
const attributeChildren = <Comp child={<span />} fragment={<><Leaf /></>} />;
|
|
const unicodeText = <span>😀</span>;
|
|
const customElement = <x-card data-id="card" />;
|