uikit/dist/remote-ui-app-sidebar.d.ts
Mohamadzadeh f153156a66
All checks were successful
Build and Deploy Next.js + Nginx Docker Image / build-and-deploy (push) Successful in 50s
Build and Deploy Next.js + Nginx Docker Image / deploy (push) Successful in 7s
add loading to pagination and update demo page
2026-10-04 12:29:46 +03:30

37 lines
947 B
TypeScript

import type { ElementType, ReactNode } from "react";
export type AppSidebarItem = {
id?: string | number;
title: string;
mobileTitle?: string;
icon?: ReactNode | ElementType;
iconSvg?: string;
href?: string;
target?: string;
rel?: string;
active?: boolean;
disabled?: boolean;
hidden?: boolean;
onClick?: (item: AppSidebarItem, event: MouseEvent) => void;
};
export type RemoteAppSidebarProps = {
items?: AppSidebarItem[];
ariaLabel?: string;
dir?: "rtl" | "ltr";
children?: ReactNode;
};
type AppSidebarExitProps = {
/** @deprecated Exit text is fixed to «خروج» and children are ignored. */
children?: ReactNode;
/** @deprecated Exit text is fixed to «خروج» and label is ignored. */
label?: string;
disabled?: boolean;
onClick?: (event: MouseEvent) => void;
};
export declare const AppSidebar: ((props: RemoteAppSidebarProps) => any) & {
Exit: (props: AppSidebarExitProps) => any;
};