diff --git a/README.md b/README.md index 4549356..78f21a1 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,8 @@ A helper function to easily modify Shadow DOM CSS. ```ts +import {injectStyles} from 'shadow-dom-inject-styles'; + const toolbar = (this.el.querySelector('ion-header > ion-toolbar') as HTMLElement); // language=CSS diff --git a/package.json b/package.json index b571c16..5ba9df4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "shadow-dom-inject-styles", - "version": "1.0.0", + "version": "1.0.1", "description": "A helper function to easily modify shadow dom css.", "module": "./dist/index.js", "main": "./dist/index.js",