D
D
Davidaa_WoW2022-01-23 21:35:09
React
Davidaa_WoW, 2022-01-23 21:35:09

How to access components with the same name?

I assemble the component on React native, output an image, respectively, import Image from react native, additionally installed a library for image processing, Image is also imported there, how to distinguish between them, and what to do in general in this situation?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
H
HealSpirit, 2022-01-23
@HealSpirit

import Image as Image 1 from "source 1"
import Image as Image 2 from "source 2"

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question