23 lines
492 B
TypeScript
23 lines
492 B
TypeScript
import React from 'react';
|
|
|
|
interface Props {
|
|
title: string;
|
|
description: string;
|
|
}
|
|
|
|
export default function SectionTitle({ title, description }: Props) {
|
|
return (
|
|
<div className="md:col-span-1">
|
|
<div className="px-4 sm:px-0">
|
|
<h3 className="text-lg font-medium text-gray-900 dark:text-gray-100">
|
|
{title}
|
|
</h3>
|
|
|
|
<p className="mt-1 text-sm text-gray-600 dark:text-gray-400">
|
|
{description}
|
|
</p>
|
|
</div>
|
|
</div>
|
|
);
|
|
}
|