Wrap JSX siblings in container
This commit is contained in:
@@ -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>
|
||||
```
|
||||
|
Reference in New Issue
Block a user