aboutsummaryrefslogtreecommitdiffstats
path: root/webui/src/Author.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'webui/src/Author.tsx')
-rw-r--r--webui/src/Author.tsx6
1 files changed, 5 insertions, 1 deletions
diff --git a/webui/src/Author.tsx b/webui/src/Author.tsx
index 20de583a..852cd2b7 100644
--- a/webui/src/Author.tsx
+++ b/webui/src/Author.tsx
@@ -4,7 +4,11 @@ import React from 'react';
import { AuthoredFragment } from './Author.generated';
-type Props = AuthoredFragment;
+type Props = AuthoredFragment & {
+ className?: string;
+ bold?: boolean;
+};
+
const Author = ({ author, ...props }: Props) => {
if (!author.email) {
return <span {...props}>{author.displayName}</span>;