diff --git a/README.md b/README.md index 7b7eded..ca24adc 100644 --- a/README.md +++ b/README.md @@ -51,10 +51,9 @@ By default the `shadowRoot` is enabled. This allows for styles isolation and pre In case that you want your component to inherit styles from the parent you can opt-out of the shadowRoot. To do that you can pass an **optional** parameter to the `create` method: ```js -ReactWebComponent.create(, 'my-component', true); +ReactWebComponent.create(, 'my-component', false); ``` - It is also possible to create multiple web components in a single project and pass on props: ```javascript