Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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(<App />, 'my-component', true);
ReactWebComponent.create(<App />, 'my-component', false);
```


It is also possible to create multiple web components in a single project and pass on props:

```javascript
Expand Down