pub fn media_gallery(
media_gallery: &MediaGallery,
) -> Result<(), ComponentValidationError>Expand description
Validates a media gallery component.
ยงErrors
This will error with MediaGalleryItemCountOutOfRange if the amount of
media items is less than [MEDIA_GALLERY_ITEMS_MIN] or greater than
[MEDIA_GALLERY_ITEMS_MAX].
For errors for validation of induvidual items see the dovumentation for [media_gallery_item].