uikit/dist/remote-ui-app-header.d.ts
Mohamadzadeh 4935e3deca
All checks were successful
Build and Deploy Next.js + Nginx Docker Image / build-and-deploy (push) Successful in 52s
Build and Deploy Next.js + Nginx Docker Image / deploy (push) Successful in 7s
add AppHeader
2026-10-03 13:49:35 +03:30

37 lines
901 B
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;
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;
Bi: (
props: AppHeaderSlotProps & {
logoSrc?: string;
src?: string;
alt?: string;
text?: string;
},
) => any;
};