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

dateText align to left #220

Closed
jeypc opened this issue Feb 27, 2018 · 3 comments
Closed

dateText align to left #220

jeypc opened this issue Feb 27, 2018 · 3 comments

Comments

@jeypc
Copy link

jeypc commented Feb 27, 2018

How to change dateText position to left ?
I tried using textAlign: 'left' but it is not working

customStyles={{
  dateInput: {
    borderWidth: 0
  },
  dateText:{
    textAlign: 'left',
    fontSize: 18,
    color: '#000'
  }
}}
@BlankYum
Copy link

BlankYum commented Mar 1, 2018

dateInput: {
borderWidth: 0,
justifyContent: 'flex-start',
alignItems: 'flex-start',
paddingTop: 6,
}

@w-wonk
Copy link

w-wonk commented Mar 13, 2018

@jeypc try flex-start instead of left

dateInput: {
    padding: 5,
    alignItems: 'flex-start'
}

@jeypc
Copy link
Author

jeypc commented Mar 14, 2018

thank you, it solved by using flex-start

@jeypc jeypc closed this as completed Feb 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants