/** * Props for the project's own — the plugin computes the performance * details, the project keeps the markup and the look. Nothing here renders, * styles or limits anything: every value can be overridden by the caller. * * // src/components/ui/Media.tsx * const img = mediaImageProps(resource, { sizes: MEDIA_SIZES.half, priority }) * if (img) return * const video = videoProps(resource, { mode: 'background' }) * if (video) return