We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Here's my code and screenshots
import React, { Component } from 'react'; import {View, Image} from 'react-native';
import { Label,Item, Input } from 'native-base';
export default class Splash extends Component { constructor(props){ super(props); }
render() { return ( <View style={{ flex:1, justifyContent: 'center', paddingHorizontal: 20, alignItems:'center', backgroundColor:'grey' }}> <Item> <Label style={{color:'black'}}>Email</Label> <Input/> <Image source={require('../images/email1.png')} style={{ width:70, height:35, resizeMode:'contain' }}/> </Item> </View> ) }
}
But when I add floating label the image goes away import React, { Component } from 'react'; import {View, Image} from 'react-native';
render() { return ( <View style={{ flex:1, justifyContent: 'center', paddingHorizontal: 20, alignItems:'center', backgroundColor:'grey' }}> <Item floatingLabel> <Label style={{color:'black'}}>Email</Label> <Input/> <Image source={require('../images/email1.png')} style={{ width:70, height:35, resizeMode:'contain' }}/> </Item> </View> ) }
The text was updated successfully, but these errors were encountered:
Added Thumbnail support for FloatingLabel, transpiled, #2271
2e4d414
Added Thumbnail support for floatingLabel, commit 2e4d414
Also available on master
master
Quick demo
Sorry, something went wrong.
No branches or pull requests
Here's my code and screenshots
import React, { Component } from 'react';
import {View, Image} from 'react-native';
import { Label,Item, Input } from 'native-base';
export default class Splash extends Component {
constructor(props){
super(props);
}
}
But when I add floating label the image goes away
import React, { Component } from 'react';
import {View, Image} from 'react-native';
import { Label,Item, Input } from 'native-base';
export default class Splash extends Component {
constructor(props){
super(props);
}
}
The text was updated successfully, but these errors were encountered: