/* eslint-disable eslint-comments/disable-enable-pair */ /* eslint-disable jsx-a11y/media-has-caption */ import type { ReactNode } from 'react' import { useMemo } from 'react' import { getAssetType } from 'utils/getAssetType' export interface MetadataFormGroupProps { title: string subtitle: ReactNode relatedAsset?: File children?: ReactNode } export const MetadataFormGroup = (props: MetadataFormGroupProps) => { const { title, subtitle, relatedAsset, children } = props const videoPreview = useMemo( () => (