Package: @lilith/admin-shell Split from: lilith/ui.git or lilith/build.git Publish workflow: calls lilith/workflows/.forgejo/workflows/publish-npm.yml@main
24 lines
No EOL
776 B
TypeScript
24 lines
No EOL
776 B
TypeScript
import type { AdminShellProps } from './types';
|
|
/**
|
|
* AdminShell provides a consistent layout for admin dashboards.
|
|
*
|
|
* Features:
|
|
* - Responsive sidebar with navigation sections
|
|
* - Configurable logo with optional badge
|
|
* - Theme-aware styling with accent color support
|
|
* - Scrollable main content area
|
|
*
|
|
* @example
|
|
* ```tsx
|
|
* <AdminShell
|
|
* logo={{ title: 'Platform Admin', subtitle: 'Lilith Platform' }}
|
|
* navigation={NAVIGATION_SECTIONS}
|
|
* accentColor="primary"
|
|
* footerText="Lilith Platform v0.1.0"
|
|
* >
|
|
* <Routes>...</Routes>
|
|
* </AdminShell>
|
|
* ```
|
|
*/
|
|
export declare function AdminShell({ logo, navigation, footerText, accentColor, children, }: AdminShellProps): import("react/jsx-runtime").JSX.Element;
|
|
//# sourceMappingURL=AdminShell.d.ts.map
|