13 lines
280 B
TypeScript
13 lines
280 B
TypeScript
interface BodyTitleProps {
|
|
titleText: string;
|
|
}
|
|
|
|
const BodyTitle = ({titleText}:BodyTitleProps) => {
|
|
return (
|
|
<div className="flex justify-between items-center">
|
|
<h1 className="font-bold content-text-4xl">{titleText}</h1>
|
|
</div>
|
|
);
|
|
}
|
|
|
|
export default BodyTitle |