import { c } from 'ttag' ; import { Row , Label , Info } from '../../components' ; import DesktopNotificationPanel , { Props } from './DesktopNotificationPanel' ; const DesktopNotificationSection = ( { onTest , infoURL = 'https://protonmail.com/support/knowledge-base/desktop-notifications/' , } ) => { return ( < Row > < Label > < span className = "mr0-5" > { c ( 'Label' ) . t `Desktop notification` } < /span> < Info url = { infoURL } / > < /Label> < DesktopNotificationPanel onTest = { onTest } / > < /Row>); } ; export default DesktopNotificationSection ;