src/components/image.tsximport { clsx } from 'clsx'import Link from 'next/link'import { Paragraph } from '@/components/paragraph'import { Caption } from '@/components/caption'import type { ComponentProps } from 'react'import { getStudioImage } from '@/utils/studio-helpers'import {type DOMNode,Element,domToReact,} from 'html-react-parser'import {isTag,getAttrib,getTextContent,} from '@/utils/parse-blocks-helpers'import { tailwindGetAlignClasses } from '@/utils/tailwind-get-align-classes'export interface ImageProps extends Omit<ComponentProps<'img'>,
Showing the first 20 lines.
Get full code