Skip to content

Commit

Permalink
Merge pull request #63 from johnrees/patch-1
Browse files Browse the repository at this point in the history
Fix broken link for 'custom element name' docs
  • Loading branch information
marvinhagemeister authored Jul 27, 2021
2 parents 0dae4d9 + 6501c3c commit 5790765
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const Greeting = ({ name = 'World' }) => (
register(Greeting, 'x-greeting', ['name']);
```

> _**\* Note:** as per the [Custom Elements specification](http://w3c.github.io/webcomponents/spec/custom/#prod-potentialcustomelementname), the tag name must contain a hyphen._
> _**\* Note:** as per the [Custom Elements specification](https://html.spec.whatwg.org/multipage/custom-elements.html#valid-custom-element-name), the tag name must contain a hyphen._
Use the new tag name in HTML, attribute keys and values will be passed in as props:

Expand Down

0 comments on commit 5790765

Please sign in to comment.