import React from 'react' import { strings } from '@app-strings' import { enableNotifications } from '@app/lib' import { GrNotification } from 'react-icons/gr' import { Header3 } from '../general/header' import { Button } from '../general' import { useInteractiveContext } from '../providers/interactive' import { ModalType } from '@app/data/enums' export function EnableNotifications() { const { setModal } = useInteractiveContext() const onOkPressEvent = () => { setModal({ open: false, modalType: ModalType.empty, url: '' }) enableNotifications() } const onNotNowEvent = () => { setModal({ open: false, modalType: ModalType.empty, url: '' }) } return (
{strings.alerts.enableNotificationsDetail}