12 lines
365 B
TypeScript
12 lines
365 B
TypeScript
import React from "react";
|
|
import * as Iso from "@eno/iso";
|
|
|
|
export default ()=>
|
|
{
|
|
const [countGet, countSet] = React.useState(1);
|
|
return <div class="p-4 text-red-500">
|
|
<Iso.Metas title="Component!"/>
|
|
<button className="p-4 bg-red-500 text-white" onClick={e=>{countSet(countGet+1)}}>{countGet}</button>
|
|
Component!!!
|
|
</div>;
|
|
}; |