Add 'copy post text' tool
This commit is contained in:
parent
73c84f6f64
commit
bbe6bf8fc2
6 changed files with 32 additions and 0 deletions
|
@ -14,6 +14,7 @@ interface PostMetaOpts {
|
|||
authorDisplayName: string | undefined
|
||||
timestamp: string
|
||||
isAuthor: boolean
|
||||
onCopyPostText: () => void
|
||||
onDeletePost: () => void
|
||||
}
|
||||
|
||||
|
@ -40,6 +41,7 @@ export function PostMeta(opts: PostMetaOpts) {
|
|||
itemHref={opts.itemHref}
|
||||
itemTitle={opts.itemTitle}
|
||||
isAuthor={opts.isAuthor}
|
||||
onCopyPostText={opts.onCopyPostText}
|
||||
onDeletePost={opts.onDeletePost}>
|
||||
<FontAwesomeIcon icon="ellipsis-h" size={14} style={[s.mt2, s.mr5]} />
|
||||
</PostDropdownBtn>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue