Image component doesn't accept children #393
Unanswered
Jordan1022
asked this question in
Q&A
Replies: 1 comment 2 replies
-
Hey, @Jordan1022 thanks for opening this discussion! I am hoping to get some more details from you because I think there might be some other factors that are causing the issue. Would mind sharing a code sandbox example? This seems to be working for me https://codesandbox.io/s/loving-ritchie-49pzq?file=/src/App.js |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The documentation states that the Image component requires children but I cannot seem to get it working without crashing because it's a void tag. I've tried as a prop on the carousel
children={<h2>hello</h2>}
andAny thoughts?
Beta Was this translation helpful? Give feedback.
All reactions