Commit 6089377c authored by Thomas Kolar's avatar Thomas Kolar Committed by Tim Neutkens

Fix/Update react-with-styles & aphrodite example (#3224)

* chore(package): Update dependencies for aphrodite and react-with-styles

* refactor: Update example to current version of react-with-styles
parent 190853b4
......@@ -7,12 +7,12 @@
"start": "next start"
},
"dependencies": {
"aphrodite": "^1.2.1",
"aphrodite": "^1.2.5",
"next": "latest",
"react": "^16.0.0",
"react-dom": "^16.0.0",
"react-with-styles": "^1.4.0",
"react-with-styles-interface-aphrodite": "^1.2.0"
"react-with-styles": "^2.2.0",
"react-with-styles-interface-aphrodite": "^3.1.1"
},
"license": "MIT"
}
import ThemedStyleSheet from 'react-with-styles/lib/ThemedStyleSheet'
import aphroditeInterface from 'react-with-styles-interface-aphrodite'
import { css, withStyles, ThemeProvider } from 'react-with-styles'
import { css, withStyles } from 'react-with-styles'
import MyDefaultTheme from './defaultTheme'
ThemedStyleSheet.registerDefaultTheme(MyDefaultTheme)
ThemedStyleSheet.registerTheme(MyDefaultTheme)
ThemedStyleSheet.registerInterface(aphroditeInterface)
export { css, withStyles, ThemeProvider, ThemedStyleSheet }
export { css, withStyles, ThemedStyleSheet }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment