finpro
Version:
32 lines • 868 B
TypeScript
import FinproElement from "../../internals/finpro-element";
import { CSSResultGroup, TemplateResult } from "lit";
import '../fp-icon/fp-icon';
import '../fp-button/fp-button';
export interface SidebarItem<T extends Event = MouseEvent> {
link?: string;
label: string;
tag: string;
icon?: string;
action?: (event: T) => any;
}
export default class FpSidebar extends FinproElement {
static get styles(): CSSResultGroup;
items: SidebarItem<MouseEvent>[];
open: boolean;
logoSrc: string;
logoText: string;
height: string;
width: string;
openedWidth: string;
logoWidth: string;
logoHeight: string;
zIndex: number;
private _toggleSidebar;
render(): TemplateResult;
}
declare global {
interface HTMLElementTagNameMap {
'fp-sidebar': FpSidebar;
}
}
//# sourceMappingURL=fp-sidebar.d.ts.map