@meduza-bank/ui-kit
Version:
UI Kit of the bank of Meme World "Peoples Bank Memes" or "Meduza Bank"
41 lines (40 loc) • 1.11 kB
TypeScript
import * as React from "react";
import { LogotypeProps } from "./ui/logotype";
interface UserAccount {
displayName: string;
avatarSrc?: string;
tag: string;
backgroundSrc?: string;
}
interface UserAccountActions {
openMeduzaSanctum?: () => void;
open?: () => void;
logOut?: () => void;
goverment?: () => void;
}
interface Balance {
balance: number;
unReadTransaction?: boolean;
currencyImageSrc?: string;
currencyId?: string;
openTransactions?: () => void;
buy?: () => void;
transaction?: () => void;
}
interface HeaderProps {
returnToBank?: () => void;
user?: UserAccount;
userActions?: UserAccountActions;
login?: () => void;
themeSwitch?: (theme: "system" | "dark" | "light") => void;
useTooltipProvider?: boolean;
balance?: Balance;
sanctumShow?: boolean;
search?: (text: string) => void;
Notifications?: React.FC;
unReadNotify?: boolean;
logo?: Omit<LogotypeProps, "isButton">;
homePage?: () => void;
}
export declare const Header: React.FC<React.PropsWithChildren<HeaderProps>>;
export {};