UNPKG

@payfit/unity-components

Version:

11 lines (10 loc) 693 B
import { ReactNode } from 'react'; import { AppProfileMenuButtonProps } from '../../app-profile-menu-button/AppProfileMenuButton.js'; export type AppMenuFooterProps = Omit<AppProfileMenuButtonProps, 'variant'> & { computeSlot?: ReactNode; /** This slot is used to render the update notification. */ updateNotificationSlot?: ReactNode; /** Whether the profile control is available at desktop breakpoints. */ isProfileMenuButtonVisibleOnDesktop?: boolean; }; export declare const AppMenuFooter: ({ children, computeSlot, isProfileMenuButtonVisibleOnDesktop, updateNotificationSlot, ...profileMenuButtonProps }: AppMenuFooterProps) => import("react/jsx-runtime").JSX.Element;