My code segment is this:
<>
<Divider orientation="left">{resultLinkTitle}</Divider>
<Intension />
<Form form={form} name="auditForm" ref={auditFormRef}>
<Form.Item label="files">
<Button type="link" onClick={() => handleDownLoadFile(aduitInfo?.fileUrl)}>
download
</Button>
</Form.Item>
</Form>
</>
then I use swc.parse
get ast.But I cannot get the original code with swc.printSync
.It will get error unknown variant
JSXElement, expected
Moduleor
Script“.
How can I do?
I what to get the original code with swc.