2018-07-09 21:29:13 +00:00
|
|
|
### In group conversation
|
|
|
|
|
2019-06-10 21:40:02 +00:00
|
|
|
```jsx
|
2018-07-09 21:29:13 +00:00
|
|
|
<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
|
|
|
|
|
2019-06-10 21:40:02 +00:00
|
|
|
```jsx
|
2018-07-09 21:29:13 +00:00
|
|
|
<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>
|
|
|
|
```
|