AudioGrid - A grid layout component for organizing audio participant components.
This component provides a flexible CSS Grid-based layout system for displaying multiple audio participant
components. It offers granular customization of both the grid container and individual items, with support
for custom rendering of each element.
Key Features:
CSS Grid Layout: Modern grid-based layout with configurable gap spacing
Array-Based Rendering: Accepts array of React components/elements for grid population
High Z-Index: Positioned above other content (z-index: 9) for visibility
Item Customization: Individual control over each grid item's appearance
Container Customization: Full control over grid container styling and attributes
Render Hooks: Custom rendering for both individual items and entire container
Display Contents: Items use display: contents to maintain grid flow
Automatic Keys: Handles React keys automatically for array items
HTML Attributes: Granular HTML attributes for container and item wrappers
Class Management: Smart className joining utility for clean class composition
Flexible Styling: Support for inline styles and CSS classes
React Element Validation: Proper handling of rendered items with key preservation
AudioGrid - A grid layout component for organizing audio participant components.
This component provides a flexible CSS Grid-based layout system for displaying multiple audio participant components. It offers granular customization of both the grid container and individual items, with support for custom rendering of each element.
Key Features:
Component
Example
// Basic usage with audio participant components
Example
// Custom styled grid with explicit layout
Example
// Analytics tracking with custom item rendering
Example
// Integration with MediasfuGeneric using uiOverrides