src/components/image.tsximport { clsx } from 'clsx'import Link from 'next/link'import { Paragraph } from '@/components/paragraph'import type { ComponentProps } from 'react'import { getStudioImage } from '@/utils/studio-helpers'export interface ImageProps extends Omit<ComponentProps<'img'>,'alt' | 'title'> {/** Image source URL */src: string/** Alt text for accessibility - optional, falls back to empty string */alt?: string/** Title attribute for hover tooltip - optional */title?: string/** Caption text that supports HTML elements - optional */caption?: string/** Whether to wrap the image in paragraph containers - default is true */wrap?: boolean
Showing the first 20 lines.
Get full code