@firecms/core
Version:
Awesome Firebase/Firestore-based headless open-source CMS
30 lines (28 loc) • 1.09 kB
TypeScript
import React from "react";
import { User } from "../types";
export type DefaultAppBarProps<ADDITIONAL_PROPS = object> = {
/**
* The content of the app bar, usually a title or logo. This includes a link to the home page.
*/
title?: React.ReactNode;
/**
* A component that gets rendered on the upper side to the end of the main toolbar
*/
endAdornment?: React.ReactNode;
/**
* A component that gets rendered on the upper side to the start of the main toolbar
*/
startAdornment?: React.ReactNode;
dropDownActions?: React.ReactNode;
includeModeToggle?: boolean;
className?: string;
style?: React.CSSProperties;
logo?: string;
user?: User;
} & ADDITIONAL_PROPS;
/**
* This component renders the main app bar of FireCMS.
* You will likely not need to use this component directly.
*
*/
export declare const DefaultAppBar: ({ title, endAdornment, startAdornment, dropDownActions, includeModeToggle, className, style, user: userProp, logo: logoProp, }: DefaultAppBarProps) => import("react/jsx-runtime").JSX.Element;