mirror of
https://github.com/idanoo/autobrr
synced 2025-07-23 00:39:13 +00:00
15 lines
No EOL
355 B
TypeScript
15 lines
No EOL
355 B
TypeScript
import React from "react";
|
|
|
|
interface Props {
|
|
title: string;
|
|
subtitle: string;
|
|
}
|
|
|
|
const TitleSubtitle: React.FC<Props> = ({ title, subtitle }) => (
|
|
<div>
|
|
<h2 className="text-lg leading-6 font-medium text-gray-900">{title}</h2>
|
|
<p className="mt-1 text-sm text-gray-500">{subtitle}</p>
|
|
</div>
|
|
)
|
|
|
|
export default TitleSubtitle; |