1 import { c } from 'ttag';
3 import Row from '@proton/components/components/container/Row';
4 import Label from '@proton/components/components/label/Label';
5 import Info from '@proton/components/components/link/Info';
6 import { getKnowledgeBaseUrl } from '@proton/shared/lib/helpers/url';
8 import type { Props } from './DesktopNotificationPanel';
9 import DesktopNotificationPanel from './DesktopNotificationPanel';
11 const DesktopNotificationSection = ({ onTest, infoURL = getKnowledgeBaseUrl('/desktop-notifications') }: Props) => {
15 <span className="mr-2">{c('Label').t`Desktop notification`}</span>
16 <Info url={infoURL} />
18 <DesktopNotificationPanel onTest={onTest} />
23 export default DesktopNotificationSection;