Add user's avatar to the top left of the screen

This commit is contained in:
Scott Nonnenberg
2018-09-28 17:42:13 -07:00
parent 8f3e3b7aaf
commit a8e12d0771
8 changed files with 98 additions and 24 deletions

View 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} />
```