mirror of
https://github.com/swc-project/swc.git
synced 2024-12-20 12:12:16 +03:00
6a41e9a0be
swc_common: - Optimize `SourceMap.span_until_char`. swc_ecma_codegen: - Make `Emitter` generic. swc_ecma_parser: - `Lexer`: Reuse allocation of `String`. - `Lexer`: Avoid copying useless data.
22 lines
652 B
TypeScript
22 lines
652 B
TypeScript
import { CONST } from "removed/constants";
|
|
import Comp1 from "removed/1";
|
|
import Comp2 from "removed/2";
|
|
import Comp3 from "removed/3";
|
|
import Comp4 from "removed/4";
|
|
|
|
export default function HiddenComponent() {
|
|
return (
|
|
<Comp1 title={`My title`} hideHeader fullViewport>
|
|
<Comp2
|
|
image="/example.com/images/my.png"
|
|
title={`Title of an exmaple page`}
|
|
url={`${CONST}/directory`}
|
|
description="Hidden component, and maybe it's a good input for performance bug"
|
|
/>
|
|
<Comp4>
|
|
<Comp3 />
|
|
</Comp4>
|
|
</Comp1>
|
|
);
|
|
}
|