UNPKG

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.

15 lines (14 loc) 445 B
interface Props { height?: string; width?: string; codePenId?: string; tabs?: string[] | 'js' | 'css' | 'scss' | 'less' | 'result'; clickToLoad?: boolean; editable?: boolean; theme?: string | 'light' | 'dark' | 'default'; disable_observer?: boolean; iframe_styles?: string; } declare const CodePen: import("svelte").Component<Props, {}, "">; type CodePen = ReturnType<typeof CodePen>; export default CodePen;