diff --git a/apps/site/src/components/component-blocks/components/accessibility-demo/accessibility-demo.preview.tsx b/apps/site/src/components/component-blocks/components/accessibility-demo/accessibility-demo.preview.tsx index 637f3a52c..10e39a54d 100644 --- a/apps/site/src/components/component-blocks/components/accessibility-demo/accessibility-demo.preview.tsx +++ b/apps/site/src/components/component-blocks/components/accessibility-demo/accessibility-demo.preview.tsx @@ -1,24 +1,11 @@ -import { component, fields } from '@keystatic/core'; - -import { AccessibilityDemo } from '.'; +import { component } from '@keystatic/core'; // Apparently the document field is not possible be implemented on a component. export const accessibilityDemo = component({ + chromeless: true, label: 'Accessibility Demo', - preview: ({ fields }) => { - return

Accessibility Demo

; - // return ; - }, - schema: { - // content: fields.document({ - // label: 'Content', - // componentBlocks: {}, - // formatting: { - // blockTypes: { - // blockquote: true, - // code: true, - // }, - // }, - // }), + preview: () => { + return

Accessibility demo placeholder

; }, + schema: {}, });