Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
jxom committed Feb 12, 2024
1 parent a0d51c7 commit 1dfff53
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/vercel-edge/api/index.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/** @jsx jsx */
/** @jsxImportSource hono/jsx */
/** @jsxImportSource farc/jsx */

import { Button, Farc, TextInput } from 'farc'
// @ts-ignore
import { jsx } from 'hono/jsx'
import { jsx } from 'farc/jsx'
import { handle } from 'hono/vercel'

export const config = {
Expand Down
1 change: 1 addition & 0 deletions src/jsx/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from 'hono/jsx'
4 changes: 4 additions & 0 deletions src/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@
"types": "./_lib/index.d.ts",
"default": "./_lib/index.js"
},
"./jsx": {
"types": "./_lib/jsx/index.d.ts",
"default": "./_lib/jsx/index.js"
},
"./jsx/jsx-runtime": {
"types": "./_lib/jsx/jsx-runtime/index.d.ts",
"default": "./_lib/jsx/jsx-runtime/index.js"
Expand Down

0 comments on commit 1dfff53

Please sign in to comment.