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

Can't change the fontFamily #20

Open
naimur978 opened this issue Jul 16, 2022 · 1 comment
Open

Can't change the fontFamily #20

naimur978 opened this issue Jul 16, 2022 · 1 comment

Comments

@naimur978
Copy link

I want to change the font family of text called year, month, and date. Unfortunately, I can't see any parameter named like that. Could you shed some light on that?

@arlovip
Copy link
Owner

arlovip commented Jul 18, 2022

Sorry for replying so late, I'm busy with my work lately. I publish a new version 2.3.8 that may satisfy your needs. Now if you're using 2.3.8, you can set fontFamily as follows

<DatePicker
    selectedTextStyle={{fontFamily: 'Cochin'}}
    unselectedTextStyle={{fontFamily: 'Cochin'}}
/>

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

2 participants