40 lines
1.2 KiB
TypeScript
40 lines
1.2 KiB
TypeScript
import type { Component } from 'vue';
|
|
import BeforeAfter from './BeforeAfter.vue';
|
|
import Cards from './Cards.vue';
|
|
import Chips from './Chips.vue';
|
|
import Cta from './Cta.vue';
|
|
import Divider from './Divider.vue';
|
|
import Faq from './Faq.vue';
|
|
import Form from './Form.vue';
|
|
import Gallery from './Gallery.vue';
|
|
import Hero from './Hero.vue';
|
|
import ImageBlock from './ImageBlock.vue';
|
|
import PageTitle from './PageTitle.vue';
|
|
import PointsBox from './PointsBox.vue';
|
|
import Quote from './Quote.vue';
|
|
import RichText from './RichText.vue';
|
|
import Spacer from './Spacer.vue';
|
|
import Stats from './Stats.vue';
|
|
import TextMedia from './TextMedia.vue';
|
|
|
|
/** The components of the block types the package ships, by type. A site adds or replaces by giving `components` to the renderer. */
|
|
export const blockComponents: Record<string, Component> = {
|
|
hero: Hero,
|
|
page_title: PageTitle,
|
|
rich_text: RichText,
|
|
text_media: TextMedia,
|
|
image: ImageBlock,
|
|
points_box: PointsBox,
|
|
gallery: Gallery,
|
|
before_after: BeforeAfter,
|
|
quote: Quote,
|
|
stats: Stats,
|
|
chips: Chips,
|
|
faq: Faq,
|
|
cards: Cards,
|
|
cta: Cta,
|
|
form: Form,
|
|
divider: Divider,
|
|
spacer: Spacer,
|
|
};
|