import Link from 'next/link'; import { FC } from 'react'; import styles from './PageBuilder.module.scss'; const PageBuilder: FC<{ header: string; subtitle: string; button: string }> = ({ header, subtitle, button, children, }) => (
{children}
{header}
{subtitle}
{button}
); export default PageBuilder;