From a96db3f1594adc1568da4846491219e2c748666e Mon Sep 17 00:00:00 2001 From: Hiroshi YAMAGUCHI Date: Mon, 10 Apr 2017 01:17:58 +0900 Subject: [PATCH] docs: readme now reflects renderStatic provides title that renders whole tag (#261) * helmet does not contain titleAttributes * avoid duplication of title tags --- README.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 79b79900..44fd26c0 100644 --- a/README.md +++ b/README.md @@ -104,7 +104,6 @@ This `helmet` instance contains the following properties: - `script` - `style` - `title` -- `titleAttributes` Each property contains `toComponent()` and `toString()` methods. Use whichever is appropriate for your environment. For attributes, use the JSX spread operator on the object returned by `toComponent()`. E.g: @@ -114,7 +113,7 @@ const html = ` - ${helmet.title.toString()} + ${helmet.title.toString()} ${helmet.meta.toString()} ${helmet.link.toString()} @@ -136,7 +135,7 @@ function HTML () { return ( - {helmet.title.toComponent()} + {helmet.title.toComponent()} {helmet.meta.toComponent()} {helmet.link.toComponent()}