honox icon indicating copy to clipboard operation
honox copied to clipboard

feat: serialize element in props. (not only children)

Open usualoma opened this issue 1 year ago • 0 comments

In #56 we can now pass child components to children.

The documentation for next.js stated the following.

You're not limited to the children prop. you can use any prop to pass JSX.

https://nextjs.org/docs/app/building-your-application/rendering/composition-patterns

Honox also allows components to be passed for any key in this PR.

usualoma avatar Apr 29 '24 21:04 usualoma