feat: implement TitleDashboard component and integrate it into UsersPage and AdvertisementsPage
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
type TitleDashboardProperties = {
|
||||
title: string
|
||||
}
|
||||
export const TitleDashboard = (properties: TitleDashboardProperties) => {
|
||||
const { title } = properties
|
||||
return (
|
||||
<div className="container mx-auto">
|
||||
<div className="mb-5 flex items-center justify-between">
|
||||
<h1 className="text-xl font-bold">{title}</h1>
|
||||
</div>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user