Skip to content

Conversation

@oleg-deezus
Copy link

<Component styleName={['class1', true && 'class2']} />

@oleg-deezus oleg-deezus changed the title Add support to array of styles Add support array of styles Jun 22, 2016
@oleg-deezus oleg-deezus changed the title Add support array of styles Add array of styles feature Jun 22, 2016
@gajus
Copy link
Owner

gajus commented Jun 22, 2016

Please discuss features using issues thread before raising a PR.

In this particular case, what you want can be achieved using .join(' '). No need to explicitly accept array as a value.

@gajus
Copy link
Owner

gajus commented Jul 4, 2016

Closing as the author of the PR did not follow up and the use case is not clear.

@gajus gajus closed this Jul 4, 2016
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

Successfully merging this pull request may close these issues.

2 participants