mirror of
https://github.com/oven-sh/bun
synced 2026-02-12 03:48:56 +00:00
15 lines
329 B
TypeScript
15 lines
329 B
TypeScript
import * as React from "react";
|
|
import { Button } from "./Button";
|
|
import { RenderCounter } from "./RenderCounter";
|
|
export function App() {
|
|
return (
|
|
<RenderCounter name="App">
|
|
<div className="AppRoot">
|
|
<h1>This is the root element</h1>
|
|
|
|
<Button>Click</Button>
|
|
</div>
|
|
</RenderCounter>
|
|
);
|
|
}
|