diff options
author | ludovicm67 <ludovicmuller1@gmail.com> | 2020-02-12 23:09:45 +0100 |
---|---|---|
committer | ludovicm67 <ludovicmuller1@gmail.com> | 2020-02-12 23:09:45 +0100 |
commit | d0a6da286a28e79ae3bb75af41219c4cc4df20b0 (patch) | |
tree | c02a2641c78331a45af4623613136f4cdc51af17 /webui/src/Author.tsx | |
parent | c2d18b3a9bec9933d2845ce3cfc6dd5b4f3ff348 (diff) | |
download | git-bug-d0a6da286a28e79ae3bb75af41219c4cc4df20b0.tar.gz |
webui: finish TypeScript conversion
Diffstat (limited to 'webui/src/Author.tsx')
-rw-r--r-- | webui/src/Author.tsx | 6 |
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>; |