- Notifications
You must be signed in to change notification settings - Fork814
Including images on pane#1092
-
Hi there!! My question is: How can i insert an image or icon in pane component? |
BetaWas this translation helpful?Give feedback.
All reactions
Hi@edgarjoserojaslopez, The way I do it for now is like this:
<Pane is='img' src='path/to/your/image.jpg' alt='Image' />Not sure if this is the right way, but it works for me.
Replies: 1 comment 1 reply
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
-
Hi@edgarjoserojaslopez, The way I do it for now is like this: Not sure if this is the right way, but it works for me. |
BetaWas this translation helpful?Give feedback.
All reactions
-
Yep! You can also use import{Image}from'evergreen-ui'<Imagesrc="pupdanceparty.gif"alt="Puppies dancing"/> Either approach ( <Imagesrc="pupdanceparty.gif"alt="Puppies dancing"marginTop={32}/> |
BetaWas this translation helpful?Give feedback.