0.0.2 • Published 4 years ago

@harmansran/my-web-component v0.0.2

Weekly downloads
2
License
MIT
Repository
-
Last release
4 years ago

Defines a new custom element, <simple-demo />.

Installation

Via npm:

npm install @harmansran/my-web-component

Via unpkg:

<script src="https://unpkg.com/@harmansran/my-web-component/build/index.js" />

Usage

If installed via npm, import with:

import '@harmansran/my-web-component';

Then use the <simple-demo /> custom element in your host application.

<simple-demo /> mounts a React component in a <div /> shadow root that it appends to your document.

0.0.2

4 years ago

0.0.1

4 years ago