FAQs

How to override style in NativeBase?

I didn't find a way to override style. How can I include React StyleSheet into my app? Solution: NativeBase is built on top of React Native. Hence with any component, you can pass the style property which will be merged into the default style of that component. Example:

<Button style={{backgroundColor: '#FF0000'}}>
Click me!
</Button>

How do I add events with the components?

What events are available for the components? Example buttons, list items etc. Solution: The NativeBase components are built on top of React Native components. Hence the callback events of React Native holds good with NativeBase components. Example: The Button component is actually a wrapper of the TouchableOpacitycomponent of React Native. So you can just use the onPress callback function for event handling. Refer the cheatsheet for more details.

How to customize components of NativeBase?

I didn't find a way to customize the default styles of NativeBase components. Solution: NativeBase provides a separate file inclusive of color schemes for all components. Go through Customize section of docs.

I want list of icons with their names used in NativeBase

Docs says Choose from 700+ Icons I want the complete list of icons containing the name and image of the icons that are ready to use. Solution: NativeBase uses Icons from React Native Vector Icons. Hence the collection of icons from Vector Icons holds good with that in NativeBase.

How do I extract files in Windows?

I want to extract files in Windows. Solution: • Unzip the file. • Right click on the extracted file and select View files. All the files will be extracted.

How we can add other payment method ?

By default, we are providing you with the Razorpay payment gateway and Paypal payment gateway, but you can add payment method your choice .You need to change the logic in backend & the mobileApp's.

How else can i use this product?

You can use this app to build various other apps of same kind of variation for example you can add any other item that you want for example hotel booking app or flight booking app by changing names of items and images.

Does it support localization?

No, it does not supports localization or multi language support.

How is the order tracked?

When an order is made the order notification is sent to driver from where he can accept or cancel the order. The user is notified in the mobile app that is push notification.