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.
62 lines (61 loc) • 1.57 kB
TypeScript
import type { Snippet } from 'svelte';
import type { HTMLAttributes } from 'svelte/elements';
import type { DeviceVariantType } from '../types';
interface DeviceMockupProps {
children: Snippet;
device?: DeviceVariantType;
}
interface MockupBaseProps extends HTMLAttributes<HTMLElement> {
children?: Snippet;
divClass?: string;
div2Class?: string;
div3Class?: string;
div4Class?: string;
}
interface AndroidProps {
children?: Snippet;
divClass?: string;
div2Class?: string;
div3Class?: string;
div4Class?: string;
div5Class?: string;
div6Class?: string;
div7Class?: string;
}
interface DefaultMockupProps {
children?: Snippet;
divClass?: string;
div2Class?: string;
div3Class?: string;
div4Class?: string;
div5Class?: string;
div6Class?: string;
}
interface IosProps {
children?: Snippet;
divClass?: string;
div2Class?: string;
div3Class?: string;
div4Class?: string;
div5Class?: string;
div6Class?: string;
}
interface SmartwatchProps {
children?: Snippet;
divClass?: string;
div2Class?: string;
div3Class?: string;
div4Class?: string;
div5Class?: string;
div6Class?: string;
}
interface TabletProps {
children?: Snippet;
divClass?: string;
div2Class?: string;
div3Class?: string;
div4Class?: string;
div5Class?: string;
div6Class?: string;
}
export { type DeviceMockupProps, type AndroidProps, type DefaultMockupProps, type IosProps, type SmartwatchProps, type TabletProps, type MockupBaseProps };