mirror of https://git.lenooby09.tech/LeNooby09/social-app.git
1import React from 'react'
2import {msg} from '@lingui/macro'
3import {useLingui} from '@lingui/react'
4
5import {DialogControlProps} from '#/components/Dialog'
6import * as Prompt from '#/components/Prompt'
7
8export function ReportConversationPrompt({
9 control,
10}: {
11 control: DialogControlProps
12}) {
13 const {_} = useLingui()
14
15 return (
16 <Prompt.Basic
17 control={control}
18 title={_(msg`Report conversation`)}
19 description={_(
20 msg`To report a conversation, please report one of its messages via the conversation screen. This lets our moderators understand the context of your issue.`,
21 )}
22 confirmButtonCta={_(msg`I understand`)}
23 onConfirm={() => {}}
24 showCancel={false}
25 />
26 )
27}