mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-02-24 03:35:43 +00:00
24 lines
481 B
Markdown
24 lines
481 B
Markdown
#### With full phone number
|
|
|
|
```jsx
|
|
<util.LeftPaneContext theme={util.theme}>
|
|
<StartNewConversation
|
|
phoneNumber="(202) 555-0011"
|
|
onClick={result => console.log('onClick', result)}
|
|
i18n={util.i18n}
|
|
/>
|
|
</util.LeftPaneContext>
|
|
```
|
|
|
|
#### With partial phone number
|
|
|
|
```jsx
|
|
<util.LeftPaneContext theme={util.theme}>
|
|
<StartNewConversation
|
|
phoneNumber="202"
|
|
onClick={result => console.log('onClick', result)}
|
|
i18n={util.i18n}
|
|
/>
|
|
</util.LeftPaneContext>
|
|
```
|