Based on: https://codepen.io/Elwend/pen/rdzRwE
- Put a script tag
<script src='https://unpkg.com/business-card-wc@0.0.2/dist/index.js'</script>
in the head of your index.html - Then you can use the element anywhere in your template, JSX, html etc.
Property | Attribute | Description | Type |
---|---|---|---|
address |
address |
string |
|
firstName |
first-name |
string |
|
lastName |
last-name |
string |
|
location |
location |
string |
|
ocupation |
ocupation |
string |
|
telephone |
telephone |
string |
|
website |
website |
string |