blob: 4ff008602a7e20d26b6995a5067df03213969d0c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
import { MetaKind } from '@ts/types/app';
import { useIntl } from 'react-intl';
import { MetaItem } from '..';
const Author = ({ name, kind }: { name: string; kind: MetaKind }) => {
const intl = useIntl();
return (
<MetaItem
title={intl.formatMessage({
defaultMessage: 'Written by:',
description: 'Author: article author meta label',
id: 'jCyqZS',
})}
value={name}
kind={kind}
/>
);
};
export default Author;
|