eno/example/app.tsx

11 lines
295 B
TypeScript
Raw Normal View History

import React from "react";
import Component from "./deep/component.tsx";
export default ()=>{
const [countGet, countSet] = React.useState(1);
return <div class="p-4 font-sans">
<h1 class="my-2 font(bold serif) text(2xl)">Title!!</h1>
<h2>subtitle</h2>
<Component/>
</div>;
};