Skip to content

Commit 74f966b

Browse files
Merge pull request #15 from markusguenther/update_readme
Fix Spelling issues in README.md
2 parents f20128a + 6f4cf63 commit 74f966b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ Makes available a `theme` context to use in styled components. The shape of the
168168
169169
Returns a `function` to wrap a component and make it themeable.
170170

171-
The returned component accepts a `theme`, `composeTheme`, `innerRef` and `mapThemrProps` props apart from the props of the original component. They former two are used to provide a `theme` to the component and to configure the style composition, which can be configured via options too. `innerRef` is used to pass a ref callback to the decorated component and `mapThemrProps` is a function that can be used to map properties to the decorated component. The function arguments are:
171+
The returned component accepts a `theme`, `composeTheme`, `innerRef` and `mapThemrProps` props apart from the props of the original component. The former two are used to provide a `theme` to the component and to configure the style composition, which can be configured via options too. `innerRef` is used to pass a ref callback to the decorated component and `mapThemrProps` is a function that can be used to map properties to the decorated component. The function arguments are:
172172

173173
- `Identifier` *(String)* used to provide a unique identifier to the component that will be used to get a theme from context.
174174
- `[defaultTheme]` (*Object*) is classname object resolved from CSS modules. It will be used as the default theme to calculate a new theme that will be passed to the component.

0 commit comments

Comments
 (0)