svelte-5-ui-lib
Version: 
Svelte 5 UI Lib is a UI library built from scratch to leverage Svelte 5's runes system, creating smooth, reactive components.
14 lines (13 loc) • 327 B
TypeScript
import type { Snippet } from 'svelte';
import type { HTMLImgAttributes } from 'svelte/elements';
type ImgType = {
    src?: string;
    alt?: string;
};
interface GalleryProps {
    children?: Snippet;
    items?: HTMLImgAttributes[];
    imgClass?: string;
    divClass?: string;
}
export { type GalleryProps, type ImgType };