diff --git a/src/components/Dialog.tsx b/src/components/Dialog.tsx index 63124e7..d907e27 100644 --- a/src/components/Dialog.tsx +++ b/src/components/Dialog.tsx @@ -5,10 +5,13 @@ import styles from '../styles/stylesheet'; import GridView from './Grid'; import { CustomDialogProps } from '../types'; - const DialogComponent = ({ visible, hideDialog, contentText }: CustomDialogProps) => { const words = contentText.split(' '); + const copyMnemonic = () => { + navigator.clipboard.writeText(contentText) + }; + return ( Mnemonic @@ -22,6 +25,7 @@ const DialogComponent = ({ visible, hideDialog, contentText }: CustomDialogProps +