fix headline docs
This commit is contained in:
parent
c99acb5c6d
commit
a581b594c7
1 changed files with 1 additions and 1 deletions
|
|
@ -39,7 +39,7 @@ Optionally, you can add authors and a publish time to the headline, which the `H
|
||||||
section={'Global news'}
|
section={'Global news'}
|
||||||
authors={['Jane Doe']}
|
authors={['Jane Doe']}
|
||||||
publishTime={new Date('2020-01-01').toISOString()}
|
publishTime={new Date('2020-01-01').toISOString()}
|
||||||
getAuthorPage={(author: string) => `mailto:${author.replace(' ', '')}@example.com`}
|
getAuthorPage={(author) => `mailto:${author.replace(' ', '')}@example.com`}
|
||||||
/>
|
/>
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue