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

Access props in createStyleSheet [feature request] #7922

Closed
damianobarbati opened this issue Aug 26, 2017 · 3 comments
Closed

Access props in createStyleSheet [feature request] #7922

damianobarbati opened this issue Aug 26, 2017 · 3 comments
Labels
duplicate This issue or pull request already exists

Comments

@damianobarbati
Copy link

damianobarbati commented Aug 26, 2017

Any chance to add props support in stylesheet creation?

@withStyles(createStyleSheet('Calendar', theme => ({
    highlight: {
        backgroundColor: props => props.highlightCurrentDateColor,
    },
})))
export default class Calendar extends React.Component {
@oliviertassinari oliviertassinari added the duplicate This issue or pull request already exists label Aug 26, 2017
@oliviertassinari
Copy link
Member

Duplicate of #7633

@oliviertassinari oliviertassinari marked this as a duplicate of #7633 Aug 26, 2017
@oliviertassinari
Copy link
Member

Can you please have a look at the existing issues next time, thanks.
Also, keep in mind that such ratio won't encourage maintainers on GitHub to answer your issues.
capture d ecran 2017-08-26 a 12 35 24.

@damianobarbati
Copy link
Author

I'll do, my apologies @oliviertassinari!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants