diff --git a/README.md b/README.md index 7b7eded..25184d4 100644 --- a/README.md +++ b/README.md @@ -50,8 +50,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); ```