UNPKG

text-editor-drcsystems

Version:
31 lines (30 loc) 1.2 kB
/** * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * */ /// <reference types="react" /> import { EmbedConfig } from '@lexical/react/LexicalAutoEmbedPlugin'; interface PlaygroundEmbedConfig extends EmbedConfig { contentName: string; icon?: JSX.Element; exampleUrl: string; keywords: Array<string>; description?: string; } export declare const YoutubeEmbedConfig: PlaygroundEmbedConfig; export declare const VideoEmbedConfig: PlaygroundEmbedConfig; export declare const GitlabEmbedConfig: PlaygroundEmbedConfig; export declare const PdfEmbedConfig: PlaygroundEmbedConfig; export declare const OfficeEmbedConfig: PlaygroundEmbedConfig; export declare const TwitterEmbedConfig: PlaygroundEmbedConfig; export declare const FigmaEmbedConfig: PlaygroundEmbedConfig; export declare const EmbedConfigs: PlaygroundEmbedConfig[]; export declare function AutoEmbedDialog({ embedConfig, onClose, }: { embedConfig: PlaygroundEmbedConfig; onClose: () => void; }): JSX.Element; export default function AutoEmbedPlugin(): JSX.Element; export {};