I have been trying to make these types of examples work in react for quite some time, since the structure is somewhat different, however I can't get any examples, I have tried to do it in several ways and nothing I can do, maybe to import the images directly I think that It is not compatible, maybe if someone can guide me more how to replicate this in react