You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-4Lines changed: 3 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -162,10 +162,9 @@ The returned component accepts a `theme` and `composeTheme` apart from the prop
162
162
163
163
- `Identifier` *(String)* used to provide a unique identifier to the component that will be used to get a theme from context.
164
164
- `[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.
165
-
- `[options]` (*Object*) is an option object that for now only accepts one value: `composeTheme` which accepts:
166
-
- `deeply` to deeply merge themes.
167
-
- `softly` to softly merge themes.
168
-
- `false` to disable theme merging.
165
+
- `[options]` (*Object*) If specified it allows to customize the behavior:
166
+
- [`composeTheme = 'deeply'`] *(String)* allows to customize the way themes are merged or to disable merging completely. The accepted values are `deeply` to deeply merge themes, `softly` to softly merge themes and `false` to disable theme merging.
167
+
- [`withRef = false`] *(Boolean)* if true, stores a ref to the wrapped component instance and makes it available via `getWrappedInstance()` method. Defaults to false.
0 commit comments