Skip to content

Commit 0f57ebc

Browse files
committed
[+] Updated README
1 parent cb6b3d6 commit 0f57ebc

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -155,8 +155,6 @@ export default StyledButton;
155155

156156
`vue-styled-components` has full theming support by exporting a `<ThemeProvider>` wrapper component. This component provides a theme to all `Vue` components underneath itself via the context API. In the render tree all `vue-styled-components` will have access to the provided theme, even when they are multiple levels deep.
157157

158-
ThemeProvider supports reactive theme, i.e. it can be derived via vuex and changed over the time.
159-
160158
Remember to register `ThemeProvider` locally.
161159

162160
```JSX
@@ -174,7 +172,7 @@ Remember to register `ThemeProvider` locally.
174172
Add your `ThemeProvider` component:
175173

176174
```JSX
177-
<theme-provider theme="{
175+
<theme-provider :theme="{
178176
primary: 'palevioletred'
179177
}">
180178
<wrapper>

0 commit comments

Comments
 (0)