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

Styles don't pass #25

Open
FatherNelson opened this issue Aug 16, 2018 · 0 comments
Open

Styles don't pass #25

FatherNelson opened this issue Aug 16, 2018 · 0 comments

Comments

@FatherNelson
Copy link

If I do something like this:
{label: GoogleFonts[0], value: GoogleFonts[0], style: {fontFamily:GoogleFonts[0]}},
{label: GoogleFonts[1], value: GoogleFonts[1], style: {color:'red'}},
{label: GoogleFonts[2], value: GoogleFonts[2], style: {fontFamily:GoogleFonts[2]}},
{label: GoogleFonts[3], value: GoogleFonts[3], style: {fontFamily:GoogleFonts[3]}},
{label: GoogleFonts[4], value: GoogleFonts[4], style: {fontFamily:GoogleFonts[4]}}

The labels and values proceed to the options, but not the styles themselves. For my application, I want all the incoming fonts to display in the font they are supposed to be. I have marked this as an issue, because this is how you accomplish the same thing in the react-select package.

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

1 participant