@@ -9,7 +9,7 @@ import type { PropsWithChildren } from 'hono/jsx'
99type Props = { attr ?: ' a' | ' b' , attrFooBar ?: ' foo-bar' , isFoo ?: boolean , propFoo ?: string , propBar ?: string } & JSX.IntrinsicElements['div']
1010
1111export function Foo({ children , attr , attrFooBar , isFoo , propFoo , propBar , ... props } : PropsWithChildren<Props >) {
12- return (<div { ... props } data-attr = { attr } data-attr-foo-bar = { attrFooBar } data-is-foo = { isFoo } style = { { ' --prop-foo' : propFoo , ' --prop-bar' : propBar }} class = " foo" >\$ { children } </div >)
12+ return (<div { ... props } data-attr = { attr } data-attr-foo-bar = { attrFooBar } data-is-foo = { isFoo } style = { { ' --prop-foo' : propFoo , ' --prop-bar' : propBar }} class = " foo" >{ children } </div >)
1313}
1414"
1515`;
@@ -23,7 +23,7 @@ import type { JSX, PropsWithChildren } from 'react'
2323type Props = { attr ?: ' a' | ' b' , attrFooBar ?: ' foo-bar' , isFoo ?: boolean , propFoo ?: string , propBar ?: string } & JSX.IntrinsicElements['div']
2424
2525export function Foo({ children , attr , attrFooBar , isFoo , propFoo , propBar , ... props } : PropsWithChildren<Props >) {
26- return (<div { ... props } data-attr = { attr } data-attr-foo-bar = { attrFooBar } data-is-foo = { isFoo } style = { { ' --prop-foo' : propFoo , ' --prop-bar' : propBar }} className = " foo" >\$ { children } </div >)
26+ return (<div { ... props } data-attr = { attr } data-attr-foo-bar = { attrFooBar } data-is-foo = { isFoo } style = { { ' --prop-foo' : propFoo , ' --prop-bar' : propBar }} className = " foo" >{ children } </div >)
2727}
2828"
2929`;
@@ -37,7 +37,7 @@ import type { JSX, PropsWithChildren } from 'react'
3737type Props = { } & JSX.IntrinsicElements['div']
3838
3939export function Foo({ children , ... props } : PropsWithChildren<Props >) {
40- return (<div { ... props } className = " foo" >\$ { children } </div >)
40+ return (<div { ... props } className = " foo" >{ children } </div >)
4141}
4242"
4343`;
0 commit comments