Style guide: Fix empty state
parent
f19e6ea93d
commit
121bb0ecef
@ -1,11 +1,29 @@
|
||||
### Media Empty State
|
||||
|
||||
```js
|
||||
<div style={{ position: 'relative', width: '100%', height: 300 }}>
|
||||
<div
|
||||
style={{
|
||||
display: 'flex',
|
||||
position: 'relative',
|
||||
width: '100%',
|
||||
height: 300,
|
||||
}}
|
||||
>
|
||||
<EmptyState label="You have no attachments with media" />
|
||||
</div>
|
||||
```
|
||||
|
||||
### Documents Empty State
|
||||
|
||||
```js
|
||||
<div style={{ position: 'relative', width: '100%', height: 500 }}>
|
||||
<div
|
||||
style={{
|
||||
display: 'flex',
|
||||
position: 'relative',
|
||||
width: '100%',
|
||||
height: 500,
|
||||
}}
|
||||
>
|
||||
<EmptyState label="You have no documents with media" />
|
||||
</div>
|
||||
```
|
||||
|
Loading…
Reference in New Issue