irradiant-svelte
Version:
Easily build sleek, minimalistic web apps with this easy to use and powerful svelte component library.
37 lines (30 loc) • 702 B
TypeScript
/// <reference types="svelte" />
export interface JumbotronProps extends svelte.JSX.HTMLAttributes<HTMLElementTagNameMap["div"]> {
/**
* User defined css classes
* @default ""
*/
className?: string;
/**
* Disables all default styling, allowing you to further customize this component
* @default false
*/
styled?: boolean;
/**
* The jumbotron's max width
* @default "600px"
*/
maxWidth?: string;
/**
* Center the jumbotron horizontally
* @default false
*/
center?: boolean;
}
export default class Jumbotron {
$$prop_def: JumbotronProps;
$$slot_def: {
default: {};
};
$on(eventname: string, cb: (event: Event) => void): () => void;
}