website refactor
This commit is contained in:
17
apps/website/ui/BreadcrumbBar.tsx
Normal file
17
apps/website/ui/BreadcrumbBar.tsx
Normal file
@@ -0,0 +1,17 @@
|
||||
import React from 'react';
|
||||
|
||||
interface BreadcrumbBarProps {
|
||||
children: React.ReactNode;
|
||||
className?: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* BreadcrumbBar is a container for breadcrumbs, typically placed at the top of the ContentShell.
|
||||
*/
|
||||
export function BreadcrumbBar({ children, className = '' }: BreadcrumbBarProps) {
|
||||
return (
|
||||
<div className={`mb-6 flex items-center space-x-2 text-sm ${className}`}>
|
||||
{children}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user