import { Block } from 'payload';

export const ContactSection: Block = {
    slug: 'contactSection',
    interfaceName: 'ContactSectionBlock',
    fields: [
        {
            name: 'showForm',
            type: 'checkbox',
            defaultValue: true,
            label: 'Show Contact Form',
        },
        {
            name: 'showMap',
            type: 'checkbox',
            defaultValue: true,
            label: 'Show Map',
        },
        {
            name: 'showHours',
            type: 'checkbox',
            defaultValue: true,
            label: 'Show Opening Hours',
        },
    ],
};
