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

Issue with dynamic strings #3

Open
simofacc opened this issue Jun 15, 2017 · 2 comments
Open

Issue with dynamic strings #3

simofacc opened this issue Jun 15, 2017 · 2 comments
Labels

Comments

@simofacc
Copy link

Hi,

I am trying to use dynamic strings e.g. flag-${country.id} but the prefix is not being added.

e.g.
const flag =flag-${data.leagueId}; <span className={classNames('flag', flag)}></span>
The first class 'flag' is prefixed but not the dynamic one.

@seunggs
Copy link

seunggs commented Aug 13, 2017

Same problem here

@loga4 loga4 added the bug label Feb 6, 2018
@eguyot
Copy link

eguyot commented Mar 30, 2018

Same here. When I use a concatenation, it doesn't work.

className={btn btn-facebook ${this.props.className}}

Is there any way to make this work ?

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

4 participants