Wrap JSX siblings in container
This commit is contained in:
parent
a8cd0b782e
commit
f19e6ea93d
1 changed files with 19 additions and 19 deletions
|
@ -1,6 +1,5 @@
|
|||
DocumentListItem example:
|
||||
|
||||
```js
|
||||
```jsx
|
||||
<div>
|
||||
<DocumentListItem
|
||||
fileName="meow.jpg"
|
||||
fileSize={1024 * 1000 * 2}
|
||||
|
@ -17,4 +16,5 @@ DocumentListItem example:
|
|||
timestamp={Date.now() - 14 * 24 * 60 * 1000}
|
||||
shouldShowSeparator={false}
|
||||
/>
|
||||
</div>
|
||||
```
|
||||
|
|
Loading…
Add table
Reference in a new issue