Skip to content
Advertisement

Tag: react-native

how to implement search API in react native

I have Text Input like this Now I have func like this this is my API calling code Now my question is Result is searing and showing correctly as I started typing in text box. But I remove all text from text input by back pressing keyboard button. then It should show all result. But it only showing That keyword

How do you arrange shapes in React Native?

I am attempting to arrange squares just like how they look in the image, but I can’t really figure out the whole flex and positioning stuff: squares This is probably really simple but I just can’t figure it out. Answer Well, here is a quick and dirty version of your picture. which yields to the following view.

How can I make this dropdown in react native?

Here is the default structure for dropdown This is when you click the dropdown I’m new to react native and I was wondering how can I make this kind of structure. If anyone can help, thanks a lot. Answer I think you’ll have a little more success if you call this component an “accordion” in your searching. “Dropdown” sort of

React navigation content size too narrow

Hi I am implementing react navigation in a react native app, and I am following the docs on react navigation. And I when I run the code this is the result: My question is how do I make the center content’s width same as the screen. Also, his is my first time using react native expo after switching from reactJS

Advertisement