gl-react icon indicating copy to clipboard operation
gl-react copied to clipboard

Can I use standard <Image/> to load into the Surface?

Open Orxcle-xx opened this issue 7 years ago • 1 comments

Hi,

Can I use standard <Image/> to load into the Surface? Tried it, doesn't work. Maybe I am doing something wrong. Is it supported?

<Surface ...>
   <Image src={....}/>
</Surface>

Thank you.

Orxcle-xx avatar Dec 04 '18 17:12 Orxcle-xx

it's not possible. Surface expects something that renders a <GL.Node to be understood. however, checkout https://github.com/gre/gl-react-image

gre avatar Jan 01 '20 14:01 gre