mirror of
https://github.com/rjNemo/ticket_manager
synced 2026-06-06 00:36:39 +00:00
15 lines
256 B
TypeScript
15 lines
256 B
TypeScript
import React, { FC } from "react";
|
|
|
|
type HeaderProps = {
|
|
title: string;
|
|
description: string;
|
|
};
|
|
|
|
export const Header: FC<HeaderProps> = ({ title, description }) => {
|
|
return (
|
|
<>
|
|
<h2>{title}</h2>
|
|
<h4>{description}</h4>
|
|
</>
|
|
);
|
|
};
|