import React from 'react'; import { View } from 'react-native'; import { Button, Dialog, Portal, Text } from 'react-native-paper'; import styles from '../styles/stylesheet'; import GridView from './Grid'; type CustomDialogProps = { visible: boolean; hideDialog: () => void; contentText: string; titleText?: string; }; const DialogComponent: React.FC = ({ visible, hideDialog, contentText, }) => { const words = contentText.split(' '); return ( Mnemonic Your mnemonic provides full access to your wallet and funds. Make sure to note it down.{' '} Do not share your mnemonic with anyone ); }; export { DialogComponent };