Fix video grid story
This commit is contained in:
parent
1d620910c5
commit
63229ce2d7
1 changed files with 6 additions and 1 deletions
|
@ -60,7 +60,12 @@ export const ParticipantsTest = () => {
|
|||
>
|
||||
<VideoGrid layout={layout} items={items}>
|
||||
{({ item, ...rest }) => (
|
||||
<VideoTile key={item.id} name={`User ${item.id}`} {...rest} />
|
||||
<VideoTile
|
||||
key={item.id}
|
||||
name={`User ${item.id}`}
|
||||
showName={items.length > 2 || item.focused}
|
||||
{...rest}
|
||||
/>
|
||||
)}
|
||||
</VideoGrid>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Reference in a new issue