duoyun-ui
Version:
A lightweight desktop UI component library, implemented using Gem
15 lines (14 loc) • 568 B
TypeScript
import type { HTMLAttributes } from "svelte/elements";
import { DuoyunImagePreviewElement } from '../elements/image-preview';
export * from '../elements/image-preview';
interface DyImagePreviewProps extends HTMLAttributes<HTMLElement> {
status?: DuoyunImagePreviewElement['status'];
progress?: DuoyunImagePreviewElement['progress'];
file?: DuoyunImagePreviewElement['file'];
actions?: DuoyunImagePreviewElement['actions'];
}
declare module "svelte/elements" {
interface SvelteHTMLElements {
'dy-image-preview': DyImagePreviewProps;
}
}