UNPKG

irradiant-svelte

Version:

Easily build sleek, minimalistic web apps with this easy to use and powerful svelte component library.

49 lines (40 loc) 849 B
/// <reference types="svelte" /> export interface NavbarBrandProps extends svelte.JSX.HTMLAttributes<HTMLElementTagNameMap["a"]> { /** * User defined classes * @default "" */ className?: string; /** * Disables all default styling, allowing you to further customize this component * @default false */ styled?: boolean; /** * Specifies the URL of the page the link goes to * @default "#" */ href?: string; /** * The image path * @default "" */ img?: string; /** * The image alt * @default "" */ alt?: string; /** * The component's color theme * @default "dark" */ theme?: "light" | "dark"; } export default class NavbarBrand { $$prop_def: NavbarBrandProps; $$slot_def: { default: {}; }; $on(eventname: string, cb: (event: Event) => void): () => void; }