Skip to content

Resolve #56, provide jss instance via styled#57

Merged
lttb merged 1 commit intomasterfrom
feature/provide-jss-instance-in-styled
Nov 3, 2017
Merged

Resolve #56, provide jss instance via styled#57
lttb merged 1 commit intomasterfrom
feature/provide-jss-instance-in-styled

Conversation

@lttb
Copy link
Copy Markdown
Member

@lttb lttb commented Nov 3, 2017

Now we can set jss plugins without the need to create special styled function.
For example:

import styled from 'styled-jss'
import camelCase from 'jss-camel-case'

styled.jss.use(camelCase())

Note that it's better to set up all the plugins once somewhere in one place

@coveralls
Copy link
Copy Markdown

Coverage Status

Coverage remained the same at 100.0% when pulling 7fd83fb on feature/provide-jss-instance-in-styled into eec629d on master.

@lttb lttb merged commit fe1cda4 into master Nov 3, 2017
@lttb lttb deleted the feature/provide-jss-instance-in-styled branch November 3, 2017 21:29
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