irradiant-svelte
Version:
Easily build sleek, minimalistic web apps with this easy to use and powerful svelte component library.
37 lines (30 loc) • 720 B
TypeScript
/// <reference types="svelte" />
export interface NavbarItemProps extends svelte.JSX.HTMLAttributes<HTMLElementTagNameMap["a"]> {
/**
* User defined classes
* @default ""
*/
className?: string;
/**
* Specifies the URL of the page the link goes to
* @default "#"
*/
href?: string;
/**
* Disables all styling, allowing you to further customize the styles of the component
* @default false
*/
styled?: boolean;
/**
* The component's color theme
* @default "dark"
*/
theme?: "light" | "dark";
}
export default class NavbarItem {
$$prop_def: NavbarItemProps;
$$slot_def: {
default: {};
};
$on(eventname: string, cb: (event: Event) => void): () => void;
}