UNPKG

@senka-ai/ui

Version:

A modern, type-safe Svelte 5 UI component library with full theme support, accessibility standards, and robust state management patterns

19 lines 686 B
import type { BaseProps } from '../../type/component'; interface Props extends BaseProps { src: string; alt: string; width?: number | string; height?: number | string; aspectRatio?: 'square' | '16:9' | '4:3' | '3:2' | 'auto'; fit?: 'cover' | 'contain' | 'fill' | 'scale-down' | 'none'; loading?: 'lazy' | 'eager'; placeholder?: string; fallback?: string; rounded?: 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl' | 'full'; onLoad?: () => void; onError?: () => void; } declare const Image: import("svelte").Component<Props, {}, "">; type Image = ReturnType<typeof Image>; export default Image; //# sourceMappingURL=Image.svelte.d.ts.map