diff --git a/content/ja/guide/v10/web-components.md b/content/ja/guide/v10/web-components.md index 7a554a681..1ea942e8f 100644 --- a/content/ja/guide/v10/web-components.md +++ b/content/ja/guide/v10/web-components.md @@ -193,14 +193,14 @@ function TextSection({ heading, content }) { ); } -registerElement(Foo, 'text-section', [], { shadow: true }); +register(TextSection, 'text-section', [], { shadow: true }); ``` 使い方: ```html - Nice heading - Great content + Nice heading + Great content ```