hono-jsx-to-react
v0.1.1
Published
A small library to convert Hono JSX to React JSX
Downloads
142
Readme
hono-jsx-to-react
📦 Installation
npm install hono-jsx-to-react hono
📚 Usage
import { toReactNode } from "hono-jsx-to-react";
const element = <div> Hello World! </div>;
console.log(toReactNode(element));
// {
// type: "div",
// key: null,
// props: {
// children: "Hello World!"
// },
// }
📄 License
Published under MIT License.