mirror of
https://github.com/supabase/supabase.git
synced 2026-10-05 09:25:06 +03:00
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.
17 lines
346 B
TypeScript
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>
|
|
`
|
|
}
|