Skip to content

Commit

Permalink
Fix broken link for 'custom element name' docs
Browse files Browse the repository at this point in the history
  • Loading branch information
johnrees authored Jul 27, 2021
1 parent 0dae4d9 commit 6501c3c
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 6501c3c

Please sign in to comment.