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.
17 lines (16 loc) • 494 B
TypeScript
interface Props {
width?: string;
height?: string;
id?: string;
view?: 'editor' | 'preview' | 'default';
clickToLoad?: boolean;
hideNavigation?: boolean;
hideExplorer?: boolean;
theme?: string | 'light' | 'dark' | 'default';
file: string | undefined;
disable_observer?: boolean;
iframe_styles?: string;
}
declare const Stackblitz: import("svelte").Component<Props, {}, "">;
type Stackblitz = ReturnType<typeof Stackblitz>;
export default Stackblitz;