import React from 'react'; import { StyleSheet } from 'react-native'; import { Button, Layout, Modal, ModalProps, Text } from '@ui-kitten/components'; interface RestartAppModalProps extends Omit { onGotItButtonPress: () => void; } export const RestartAppModal = (props: RestartAppModalProps): React.ReactElement => { const { onGotItButtonPress, ...modalProps } = props; return ( Restart Please restart the application for switching Design System. ); }; const styles = StyleSheet.create({ container: { borderRadius: 4, padding: 16, width: 320, }, description: { marginTop: 8, marginBottom: 24, }, backdrop: { backgroundColor: 'rgba(0, 0, 0, 0.5)', }, });