mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-25 02:48:23 +01:00
Add user's avatar to the top left of the screen
This commit is contained in:
11
ts/components/MainHeader.md
Normal file
11
ts/components/MainHeader.md
Normal file
@@ -0,0 +1,11 @@
|
||||
#### With image
|
||||
|
||||
```jsx
|
||||
<MainHeader avatarPath={util.gifObjectUrl} i18n={util.i18n} />
|
||||
```
|
||||
|
||||
#### Just name
|
||||
|
||||
```jsx
|
||||
<MainHeader name="John Smith" color="purple" i18n={util.i18n} />
|
||||
```
|
||||
Reference in New Issue
Block a user