// @flow import * as React from 'react'; import * as ICONS from 'constants/icons'; import Icon from 'component/common/icon'; import { Modal } from 'modal/modal'; import 'scss/component/notifications-blocked.scss'; type InlineMessageProps = { title: string, children: React.Node, }; const InlineMessage = (props: InlineMessageProps) => { const { title, children } = props; return (
{title} {children}
); }; export const BrowserNotificationsBlocked = () => { return ( {__('To enable push notifications please configure your browser to allow notifications on odysee.com.')} ); }; export const BrowserNotificationHints = () => { return ( ); }; type ModalProps = { doHideModal: () => void, }; export const BrowserNotificationErrorModal = (props: ModalProps) => { const { doHideModal } = props; return ( ); };