web: added the base for the web project
This commit is contained in:
11
apps/web/src/components/PageTitle.tsx
Normal file
11
apps/web/src/components/PageTitle.tsx
Normal file
@@ -0,0 +1,11 @@
|
||||
import { type HtmlProps } from "@/types";
|
||||
|
||||
type PageTitleProps = HtmlProps<HTMLDivElement>;
|
||||
|
||||
export function PageTitle({ children }: PageTitleProps) {
|
||||
return (
|
||||
<div className="my-8 flex justify-between border-b border-border py-4">
|
||||
<h1 className="h1">{children}</h1>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user