Skip to content
New issue

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

Make it possible to justify the placeholder Text #44

Open
ramyareye opened this issue Nov 7, 2017 · 4 comments
Open

Make it possible to justify the placeholder Text #44

ramyareye opened this issue Nov 7, 2017 · 4 comments
Labels

Comments

@ramyareye
Copy link

Hi,
Thanks for you package :)
We have this code for placeholder :
<TouchableWithoutFeedback onPress={this.onPress.bind(this)}> <View style={[styles.selectBox, style]}> <View style={styles.selectBoxContent}> <Text style={textStyle}>{this.state.defaultText}</Text> <Indicator direction={indicator} color={indicatorColor} size={indicatorSize} style={indicatorStyle} /> </View> </View> </TouchableWithoutFeedback>
Possible to add a style to second View ? something like :
<View style={[styles.selectBoxContent, secondViewStyle]}>

Now I'm hard coding to fix this one's justifyContent !

Thanks

@gs-akhan
Copy link
Owner

gs-akhan commented Nov 7, 2017

I did not understand the question. you are asking two questions here If I am getting it right..
Put them separately and I will try my best to help you out.

:)

@ramyareye
Copy link
Author

Dude, it's one request!
I want to add style to the second View as you see above. You should add a new prop and make it like this :
<View style={[styles.selectBoxContent, secondViewStyle]}>

Hope you understand what I need 👍

@gs-akhan
Copy link
Owner

gs-akhan commented Nov 8, 2017

You can always do that.

@ramyareye
Copy link
Author

I know but it will goes with a yarn update! I have to do it every time, can you update the package props ? thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants