Browse Source

add copy button

visuddhinanda 3 years ago
parent
commit
c979013b74
1 changed files with 2 additions and 0 deletions
  1. 2 0
      dashboard/src/components/template/SentEdit/SuggestionToolbar.tsx

+ 2 - 0
dashboard/src/components/template/SentEdit/SuggestionToolbar.tsx

@@ -56,6 +56,8 @@ const SuggestionToolbarWidget = ({ data, isPr = false, onAccept }: IWidget) => {
         }}
       />
       {CommentCount}
+      <Divider type="vertical" />
+      <Text copyable={{ text: data.content }}></Text>
     </Space>
   );
   return <Text type="secondary">{isPr ? prButton : normalButton}</Text>;