feat: app shell avec sidebar, header et pages placeholder
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
interface HeaderProps {
|
||||
title: string
|
||||
actions?: React.ReactNode
|
||||
}
|
||||
|
||||
export function Header({ title, actions }: HeaderProps) {
|
||||
return (
|
||||
<div className="bg-white border-b border-gray-200 px-6 py-4 flex items-center justify-between">
|
||||
<h1 className="text-base font-bold text-gray-900">{title}</h1>
|
||||
{actions && <div className="flex items-center gap-3">{actions}</div>}
|
||||
</div>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user