Is it possible to use native components in web programming?

Asked

Viewed 48 times

0

I wonder if I can call the native Picker dropdown from an Ios or android phone using javascript code on the web? or a React library.

for example this lib of the React-Native:

inserir a descrição da imagem aqui

  • If you use a <select> will automatically use no?

1 answer

0

There is no way. Native components are different from web-rendered ones. In React-Native this is only possible because of bridge calling the native components of each platform.

For the web you would have to style each one separately or create a style for both.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.