// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
import React from 'react';
import VideoGrid from './';
import VideoTile from '../VideoTile';
export default {
title: 'UI Components/Video/VideoGrid',
component: VideoGrid,
parameters: {
layout: 'fullscreen',
},
};
export const _VideoGrid = (args) => {
const tiles = new Array(args.size).fill(0).map((_, index) => {
const isFeatured = args.layout === 'featured' && index === 0;
return (