@sorens/artist-svelte
Version:
an opinionated and clean UI framework for SvelteKit with theme support built-in
38 lines (37 loc) • 1.2 kB
TypeScript
import { SvelteComponentTyped } from "svelte";
import type { useAction } from '../../types/global';
import type { ColorProp, VariantProp } from '../../types/components/props';
declare const __propDef: {
props: {
color?: ColorProp | 'inherit';
variant?: Exclude<VariantProp, 'gradient'>;
shadow?: boolean;
sticky?: boolean | 'fixed';
compactEffect?: boolean;
mergeEffect?: boolean | 'initial';
slideEffect?: boolean | number;
rounded?: boolean;
fullWidth?: boolean;
useAction?: useAction<HTMLElement>;
class?: string | undefined;
};
events: {
click: MouseEvent;
focus: FocusEvent;
dblclick: MouseEvent;
mouseover: MouseEvent;
mouseleave: MouseEvent;
} & {
[evt: string]: CustomEvent<any>;
};
slots: {
default: {};
};
};
export declare type NavbarProps = typeof __propDef.props;
export declare type NavbarEvents = typeof __propDef.events;
export declare type NavbarSlots = typeof __propDef.slots;
/** Navbar component */
export default class Navbar extends SvelteComponentTyped<NavbarProps, NavbarEvents, NavbarSlots> {
}
export {};