29 lines
759 B
TypeScript
29 lines
759 B
TypeScript
import { EtibBlock } from './types';
|
|
import { ContactSection as ContactSectionComponent } from '@/components/blocks/ContactSection';
|
|
|
|
export const ContactSection: EtibBlock = {
|
|
slug: 'contactSection',
|
|
interfaceName: 'ContactSectionBlock',
|
|
render: ContactSectionComponent,
|
|
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',
|
|
},
|
|
],
|
|
};
|