eno/example/app.tsx

23 lines
638 B
TypeScript
Raw Normal View History

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";
2023-04-05 20:05:21 -04:00
import * as Iso from "@eno/iso";
export default ()=>
{
2023-04-05 20:05:21 -04:00
console.log(Iso.Meta);
const [countGet, countSet] = React.useState(1);
return <div class="p-4 font-sans">
2023-04-05 23:34:20 -04:00
<Iso.Metas title="Main Page!"/>
<h1 class="my-2 font(bold serif) text(2xl)">Title!!</h1>
<h2>subtitle</h2>
<Component/>
</div>;
};
export const CSS = {
presets: [TWPreTail(), TWPreAuto()],
hash:false
};