// @ts-nocheck import React from 'react' import type { Page } from '@/payload-types' import RichText from '@/components/RichText' type LowImpactHeroType = | { children?: React.ReactNode richText?: never } | (Omit & { children?: never richText?: Page['hero']['richText'] }) export const LowImpactHero: React.FC = ({ children, richText }) => { return (
{children || (richText && )}
) }