UNPKG

@blinkk/editor

Version:

Structured content editor with live previews.

11 lines (10 loc) 379 B
import { TemplateResult } from '@blinkk/selective-edit'; import { ApiError } from '../api'; import { LiveEditor } from '../editor'; export interface ErrorUiOptions { /** * Should the error message include full padding? */ pad?: boolean; } export declare function templateApiError(editor: LiveEditor, error?: ApiError, options?: ErrorUiOptions): TemplateResult;