mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-24 02:18:15 +01:00
Move left pane entirely to React
This commit is contained in:
23
ts/components/StartNewConversation.md
Normal file
23
ts/components/StartNewConversation.md
Normal file
@@ -0,0 +1,23 @@
|
||||
#### 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>
|
||||
```
|
||||
Reference in New Issue
Block a user