21 lines
498 B
TypeScript
21 lines
498 B
TypeScript
import React from 'react';
|
|
import { Box } from '@/ui/Box';
|
|
|
|
interface DashboardRailProps {
|
|
children: React.ReactNode;
|
|
}
|
|
|
|
/**
|
|
* DashboardRail
|
|
*
|
|
* A thin sidebar rail for high-level navigation and status indicators.
|
|
* Uses UI primitives to comply with architectural constraints.
|
|
*/
|
|
export function DashboardRail({ children }: DashboardRailProps) {
|
|
return (
|
|
<Box as="nav" display="flex" h="full" flexDirection="col" alignItems="center" py={4} gap={4}>
|
|
{children}
|
|
</Box>
|
|
);
|
|
}
|