diff options
Diffstat (limited to 'src/view/com/util/DropdownBtn.tsx')
-rw-r--r-- | src/view/com/util/DropdownBtn.tsx | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/view/com/util/DropdownBtn.tsx b/src/view/com/util/DropdownBtn.tsx index 98e2f3f2b..b38a6ed99 100644 --- a/src/view/com/util/DropdownBtn.tsx +++ b/src/view/com/util/DropdownBtn.tsx @@ -79,6 +79,7 @@ export function PostDropdownBtn({ itemHref, itemTitle, isAuthor, + onCopyPostText, onDeletePost, }: { style?: StyleProp<ViewStyle> @@ -86,6 +87,7 @@ export function PostDropdownBtn({ itemHref: string itemTitle: string isAuthor: boolean + onCopyPostText: () => void onDeletePost: () => void }) { const store = useStores() @@ -101,6 +103,13 @@ export function PostDropdownBtn({ } : undefined, { + icon: ['far', 'paste'], + label: 'Copy post text', + onPress() { + onCopyPostText() + }, + }, + { icon: 'share', label: 'Share...', onPress() { |