flowbite-svelte
Version:
Flowbite components for Svelte
40 lines (39 loc) • 1.26 kB
TypeScript
import { SvelteComponentTyped } from "svelte";
import type { HTMLAttributes, HTMLAnchorAttributes } from 'svelte/elements';
declare const __propDef: {
props: {
href?: string;
activeClass?: string;
nonActiveClass?: string;
} & (HTMLAnchorAttributes | HTMLAttributes<HTMLDivElement>);
events: {
blur: FocusEvent;
change: Event;
click: MouseEvent;
focus: FocusEvent;
keydown: KeyboardEvent;
keypress: KeyboardEvent;
keyup: KeyboardEvent;
mouseenter: MouseEvent;
mouseleave: MouseEvent;
mouseover: MouseEvent;
} & {
[evt: string]: CustomEvent<any>;
};
slots: {
default: {};
};
};
type NavLiProps_ = typeof __propDef.props;
export { NavLiProps_ as NavLiProps };
export type NavLiEvents = typeof __propDef.events;
export type NavLiSlots = typeof __propDef.slots;
/**
* [Go to docs](https://flowbite-svelte.com/)
* ## Props
* @prop export let href: $$Props['href'] = '';
* @prop export let activeClass: $$Props['activeClass'] = undefined;
* @prop export let nonActiveClass: $$Props['nonActiveClass'] = undefined;
*/
export default class NavLi extends SvelteComponentTyped<NavLiProps_, NavLiEvents, NavLiSlots> {
}