the editable site (validation-lab)

This commit is contained in:
kpgarrod committed 2026-11-21 08:03:55 +01:00
commit 3ac81d5a52
13454 files changed
+2227005

No files matched your search

@@ -0,0 +1,15 @@
/**
* @import { CustomPreviewTemplate } from '../../../types/public';
*/
/**
* Register a custom preview template, which replaces the default entry preview. Registering a
* template with the same name again replaces the previous one.
* @param {string} name Name of the entry collection, or of the file in a file/singleton collection,
* whose entries are previewed with the template.
* @param {CustomPreviewTemplate} component React component.
* @throws {TypeError} If `name` is not a non-empty string or `component` is not a React component.
* @see https://decapcms.org/docs/customization/#registerpreviewtemplate
* @see https://sveltiacms.app/en/docs/api/preview-templates
*/
export function registerPreviewTemplate(name: string, component: CustomPreviewTemplate): void;
import type { CustomPreviewTemplate } from '../../../types/public';