irradiant-svelte
Version:
Easily build sleek, minimalistic web apps with this easy to use and powerful svelte component library.
38 lines (31 loc) • 588 B
TypeScript
/// <reference types="svelte" />
export interface MediaProps {
/**
* User defined classes
* @default ""
*/
className?: string;
/**
* Disables all default styling, allowing you to further customize this component
* @default false
*/
styled?: boolean;
/**
* The image path
* @default ""
*/
img?: string;
/**
* The image alt
* @default ""
*/
alt?: string;
}
export default class Media {
$$prop_def: MediaProps;
$$slot_def: {
body: {};
heading: {};
};
$on(eventname: string, cb: (event: Event) => void): () => void;
}