+
+
+
+ {tileTransitions((style, tile) => children({
+ key: tile.item.id,
+ style: style as any,
+ width: tile.width,
+ height: tile.height,
+ item: tile.item,
+ }))}
+
+ );
+};
diff --git a/src/video-grid/VideoGrid.tsx b/src/video-grid/VideoGrid.tsx
index 70633e9c..fc6e44d8 100644
--- a/src/video-grid/VideoGrid.tsx
+++ b/src/video-grid/VideoGrid.tsx
@@ -705,7 +705,7 @@ interface ChildrenProperties extends ReactDOMAttributes {
[index: string]: unknown;
}
-interface VideoGridProps {
+export interface VideoGridProps {
items: TileDescriptor[];
layout: Layout;
disableAnimations?: boolean;
diff --git a/src/video-grid/VideoTile.module.css b/src/video-grid/VideoTile.module.css
index d6f6e066..c13976d1 100644
--- a/src/video-grid/VideoTile.module.css
+++ b/src/video-grid/VideoTile.module.css
@@ -16,6 +16,7 @@ limitations under the License.
.videoTile {
position: absolute;
+ top: 0;
will-change: transform, width, height, opacity, box-shadow;
border-radius: 20px;
overflow: hidden;