Files
mtdb_movie/resources/client/news/news-article-byline.tsx
maher 703f50a09d
Some checks failed
Build / run (push) Has been cancelled
first commit
2025-10-29 11:42:25 +01:00

15 lines
391 B
TypeScript
Executable File

import {Trans} from '@common/i18n/trans';
import React from 'react';
import {NewsArticle} from '@app/titles/models/news-article';
interface Props {
article: NewsArticle;
}
export function NewsArticleByline({article}: Props) {
return article.byline ? (
<span className="whitespace-nowrap">
<Trans message="By :name" values={{name: article.byline}} />
</span>
) : null;
}