mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-28 12:23:31 +01:00
34 lines
697 B
Markdown
34 lines
697 B
Markdown
### In group conversation
|
|
|
|
```jsx
|
|
<util.ConversationContext theme={util.theme}>
|
|
<SafetyNumberNotification
|
|
i18n={util.i18n}
|
|
isGroup={true}
|
|
contact={{
|
|
phoneNumber: '(202) 500-1000',
|
|
profileName: 'Mr. Fire',
|
|
title: 'Mr. Fire',
|
|
}}
|
|
onVerify={() => console.log('onVerify')}
|
|
/>
|
|
</util.ConversationContext>
|
|
```
|
|
|
|
### In one-on-one conversation
|
|
|
|
```jsx
|
|
<util.ConversationContext theme={util.theme}>
|
|
<SafetyNumberNotification
|
|
i18n={util.i18n}
|
|
isGroup={false}
|
|
contact={{
|
|
phoneNumber: '(202) 500-1000',
|
|
profileName: 'Mr. Fire',
|
|
title: 'Mr. Fire',
|
|
}}
|
|
onVerify={() => console.log('onVerify')}
|
|
/>
|
|
</util.ConversationContext>
|
|
```
|