uikit/dist/remote-ui-app-header.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

51 lines
1.2 KiB
TypeScript

import type { ReactNode } from "react";
export type RemoteAppHeaderProps = {
logoSrc?: string;
logoAlt?: string;
title?: ReactNode;
description?: ReactNode;
biLogoSrc?: string;
biLogoAlt?: string;
biText?: string;
showBi?: boolean;
extraLogoSrc?: string;
extraLogoAlt?: string;
extraText?: string;
showExtra?: boolean;
bg?: string;
/** @deprecated Use `bg` instead. Kept temporarily for backward compatibility. */
backgroundColor?: string;
dir?: "rtl" | "ltr" | "auto";
children?: ReactNode;
};
type AppHeaderSlotProps = {
children?: ReactNode;
[key: string]: any;
};
export const AppHeader: ((props: RemoteAppHeaderProps) => any) & {
BrandSection: (props: AppHeaderSlotProps) => any;
Logo: (props: AppHeaderSlotProps & { src?: string; alt?: string }) => any;
Brand: (props: AppHeaderSlotProps) => any;
Title: (props: AppHeaderSlotProps) => any;
Description: (props: AppHeaderSlotProps) => any;
Extra: (
props: AppHeaderSlotProps & {
logoSrc?: string;
src?: string;
alt?: string;
text?: string;
},
) => any;
Bi: (
props: AppHeaderSlotProps & {
logoSrc?: string;
src?: string;
alt?: string;
text?: string;
},
) => any;
};