Category: Nativebase

Posted in Nativebase

How to add validate rules to form?

Say for example, I’d like to require a valid email, or that the password has certain characteristics (length, special chars & numbers, etc) or password…

Continue Reading
Posted in Nativebase

Input loses focus when updating state.

I am using React Naive 0.27.2 with nativebase 0.4.7, I am having trouble using the input component. As you can see, I am trying to…

Continue Reading
Posted in Nativebase

Warning: Failed propType: Invalid props.style key ‘color’ supplied to [ ‘View’ | ‘RCTView’ ]

Original issue submitted here… start-react/native-starter-kit#10 I’m using native-starter-kit, which uses native-base. In both iOS and Android simulators, I’m receiving these warnings after clicking “Login” iOS…

Continue Reading
Posted in Nativebase

Unrecognized font family ‘Ionicons’

Here I have a simple component: import React, { Component } from ‘react’; import { Container, Header, Title, Content, Button, Icon, } from ‘native-base’; export…

Continue Reading
Posted in Nativebase

using FontAwesome

how can I change to FontAwesome when I use Icon component?

Continue Reading
Posted in Nativebase

How to use the Grid component

Hello! I’m trying to create a really basic Grid and I can’t see it once I render. Whan am I missing? Thanks! import React, {…

Continue Reading
Posted in Nativebase

Cannot focus Input component imperatively

Given the sample code <InputGroup> <Icon name=”ios-home” /> <Input ref={() => (console.log(“onref”))} /> </InputGroup> the ref callback is never called (most likely due to cloning…

Continue Reading
Posted in Nativebase

Refresh control not working with nativebase components

Continue Reading
Posted in Nativebase

Icons not displaying properly when installing via nrpm strategy- seeing [X] instead

I’m using this library and Android Studio to build a react-native android app. Initially, react-native-vector-icons were displaying properly as a result of the rnpm link…

Continue Reading
Posted in Nativebase

Change button background color on press in

Is there an way to change the color of the Button while the user is pressing it? Currently, its possible to make it more transparent,…

Continue Reading