UNPKG

viewport-playground

Version:

A powerful, isolated viewport testing component for Svelte 5. Test your application's responsiveness in real-time with curated device presets, all within your own development environment.

17 lines (16 loc) 487 B
export type ComponentProps = { wrapper?: 'iframe' | 'div'; children: Snippet; defaultOpen?: boolean; url?: string; disabled?: boolean; disabledOnMobile?: boolean; routes?: { label: string; href: string; }[]; }; import { type Snippet } from 'svelte'; declare const ViewportPlayground: import("svelte").Component<ComponentProps, {}, "url">; type ViewportPlayground = ReturnType<typeof ViewportPlayground>; export default ViewportPlayground;