Michael Li
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
content/docs/context.md
|
|
@ -134,7 +134,7 @@ We could create a higher-order component called `withTheme`: |
|
|
|
|
|
|
|
`embed:context/higher-order-component.js` |
|
|
|
|
|
|
|
Now any component that depends on the theme context can easy subscribe to it using the `withTheme` function we've created: |
|
|
|
Now any component that depends on the theme context can easily subscribe to it using the `withTheme` function we've created: |
|
|
|
|
|
|
|
`embed:context/higher-order-component-usage.js` |
|
|
|
|
|
|
|