Closed mfucek closed 9 months ago
Update usage.mdx (https://chakra-ui.com/docs/components/input) to not use the children prop, but express the children as child node.
In the examples, some string children are defined through a prop.
In this proposal, the string children are passed as child nodes in the dom tree for improved clarity, instead of being passed as a prop.
No.
https://chakra-ui.com/docs/components/input
The latest updates on your projects. Learn more about Vercel for Git ↗︎
📝 Description
Update usage.mdx (https://chakra-ui.com/docs/components/input) to not use the children prop, but express the children as child node.
⛳️ Current behavior (updates)
In the examples, some string children are defined through a prop.
🚀 New behavior
In this proposal, the string children are passed as child nodes in the dom tree for improved clarity, instead of being passed as a prop.
💣 Is this a breaking change (Yes/No):
No.
📝 Additional Information
https://chakra-ui.com/docs/components/input