Fix video grid story
This commit is contained in:
@@ -60,7 +60,12 @@ export const ParticipantsTest = () => {
|
|||||||
>
|
>
|
||||||
<VideoGrid layout={layout} items={items}>
|
<VideoGrid layout={layout} items={items}>
|
||||||
{({ item, ...rest }) => (
|
{({ 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>
|
</VideoGrid>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user