UNPKG

pagamio-frontend-commons-lib

Version:

Pagamio library for Frontend reusable components like the form engine and table container

35 lines (34 loc) 1.12 kB
import React from 'react'; import type { TranslationProviderProps } from '../../translations'; import type { AppDashboardNavbarProps } from './Navbar'; interface AppLayoutProps { children: React.ReactNode; appNavbar: AppDashboardNavbarProps; /** * When true, the sidebar will not be rendered * @default false */ hideSidebar?: boolean; /** * When true, the navbar will not be rendered * @default false */ hideNavbar?: boolean; /** * When true, the AppBreadcrumbNav will not be rendered * @default false */ hideBreadcrumbNav?: boolean; /** * When true, enables translation functionality * @default false */ enableTranslations?: boolean; /** * Translation provider configuration */ translationConfig?: Omit<TranslationProviderProps, 'children'>; } declare const AppLayout: ({ children, appNavbar, hideSidebar, hideNavbar, hideBreadcrumbNav, enableTranslations, translationConfig, }: AppLayoutProps) => import("react/jsx-runtime").JSX.Element; export default AppLayout; export type { AppLayoutProps };