import React from 'react' import type { Page } from '../../../../test/live-preview/payload-types.js' import { Gutter } from '../../_components/Gutter/index.js' import { CMSLink } from '../../_components/Link/index.js' import RichText from '../../_components/RichText/index.js' import { VerticalPadding } from '../../_components/VerticalPadding/index.js' import classes from './index.module.scss' type Props = Extract[0], { blockType: 'cta' }> export const CallToActionBlock: React.FC< Props & { id?: string } > = ({ invertBackground, links, richText }) => { return (
{(links || []).map(({ link }, i) => { return })}
) }