import React, { type FC, type ReactNode } from 'react' import { cn } from 'ui' import { TextLink } from 'ui-patterns/TextLink' import CodeWindow from '@/components/CodeWindow' import SectionContainer from '@/components/Layouts/SectionContainer' const codeSnippet = ` select cron.schedule( 'call-hello-world-every-5-minutes', '*/5 * * * *', 'select hello_world()' ); ` interface Props { id: string label: ReactNode heading: ReactNode subheading: ReactNode className?: string cta?: { label: string url: string } } const CronSQLSection: FC = (props) => { return (
{props.label}

{props.heading}

{props.subheading}

{props.cta && ( )}
) } export default CronSQLSection