svelte-ux
Version:
A large collection of Svelte components, actions, stores and utils to simplify creating highly interactive and visual applications. Built using Tailwind with extensibility and customization in mind.
33 lines (32 loc) • 909 B
TypeScript
import { SvelteComponentTyped } from "svelte";
import type { ComponentProps } from 'svelte';
import Icon from './Icon.svelte';
declare const __propDef: {
props: {
[x: string]: any;
currentUrl: URL;
path: string;
text?: string | undefined;
icon?: string | null | undefined;
classes?: {
root?: string;
active?: string;
icon?: ComponentProps<Icon>["classes"];
} | undefined;
};
events: {
click: MouseEvent;
} & {
[evt: string]: CustomEvent<any>;
};
slots: {
avatar: {};
default: {};
};
};
export type NavItemProps = typeof __propDef.props;
export type NavItemEvents = typeof __propDef.events;
export type NavItemSlots = typeof __propDef.slots;
export default class NavItem extends SvelteComponentTyped<NavItemProps, NavItemEvents, NavItemSlots> {
}
export {};