sveltekit-embed
Version:
A collection of embed components for SvelteKit. Easily embed content from YouTube, Spotify, Vimeo, CodePen, and many more with performant, lazy-loaded components.
13 lines (12 loc) • 341 B
TypeScript
import type { Snippet } from 'svelte';
interface Props {
src: string;
title: string;
height: string;
width: string;
disable_observer: boolean;
children: Snippet;
}
declare const GenericEmbed: import("svelte").Component<Props, {}, "">;
type GenericEmbed = ReturnType<typeof GenericEmbed>;
export default GenericEmbed;