mirror of
https://github.com/rjNemo/ticket_manager
synced 2026-06-09 10:16:39 +00:00
15 lines
271 B
TypeScript
15 lines
271 B
TypeScript
import React, { FC } from "react";
|
|
|
|
type HeaderProps = {
|
|
title: string;
|
|
description: string;
|
|
};
|
|
|
|
export const Header: FC<HeaderProps> = ({ title, description }) => {
|
|
return (
|
|
<>
|
|
<h1>{title}</h1>
|
|
<p className="lead">{description}</p>
|
|
</>
|
|
);
|
|
};
|