You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
611 B
Markdown
26 lines
611 B
Markdown
### In group conversation
|
|
|
|
```js
|
|
<util.ConversationContext theme={util.theme}>
|
|
<SafetyNumberNotification
|
|
i18n={util.i18n}
|
|
isGroup={true}
|
|
contact={{ phoneNumber: '(202) 500-1000', profileName: 'Mr. Fire' }}
|
|
onVerify={() => console.log('onVerify')}
|
|
/>
|
|
</util.ConversationContext>
|
|
```
|
|
|
|
### In one-on-one conversation
|
|
|
|
```js
|
|
<util.ConversationContext theme={util.theme}>
|
|
<SafetyNumberNotification
|
|
i18n={util.i18n}
|
|
isGroup={false}
|
|
contact={{ phoneNumber: '(202) 500-1000', profileName: 'Mr. Fire' }}
|
|
onVerify={() => console.log('onVerify')}
|
|
/>
|
|
</util.ConversationContext>
|
|
```
|