able-baker/app.tsx

12 lines
358 B
TypeScript
Raw Normal View History

import * as ISO from ">able/iso-elements.tsx";
2024-05-14 17:17:10 -04:00
import React from "react";
const Custom =()=>{
const [countGet, countSet] = React.useState(5)
return <h1 class="p-4 bg-emerald-400 font-black" onClick={_=>countSet(countGet+1)}>CUSTOM {countGet}</h1>;
}
2023-08-13 11:00:48 -04:00
export default ()=><div>
2024-05-14 17:17:10 -04:00
<h1 class="p-4 bg-blue-500 text-white">App</h1>
<Custom/>
2023-08-13 11:00:48 -04:00
</div>;