Files
supabase/apps/cms/src/blocks/Quote/Component.tsx
T
Ivan Vasilov 1cd1ebfc7f chire: Sort imports in all packages, cms, design-system and ui-library apps (#41610)
Sorted all imports in all packages, `cms`, `design-system` and
`ui-library` apps by running `pnpm format` on them.

All changes in this PR are done by the script.
2026-02-05 13:54:10 +01:00

17 lines
346 B
TypeScript

import React from 'react'
import type { QuoteBlock as QuoteBlockProps } from '@/payload-types'
type Props = {
className?: string
} & QuoteBlockProps
export const QuoteBlock: React.FC<Props> = ({ className, img, caption, text }) => {
return `<Quote img={${img}} caption={${caption ?? ''}} className={${className}}>
{${text}}
</Quote>
`
}