20 lines
538 B
TypeScript
20 lines
538 B
TypeScript
import TWPreTail from "https://esm.sh/@twind/preset-tailwind@1.1.4";
|
|
import TWPreAuto from "https://esm.sh/@twind/preset-autoprefix@1.0.7";
|
|
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>;
|
|
};
|
|
|
|
export const CSS = {
|
|
presets: [TWPreTail(), TWPreAuto()],
|
|
hash:false
|
|
};
|