mirror of
https://github.com/tale/headplane.git
synced 2026-07-27 08:08:56 +00:00
13 lines
296 B
TypeScript
13 lines
296 B
TypeScript
import React from "react";
|
|
|
|
import cn from "~/utils/cn";
|
|
|
|
export interface TitleProps {
|
|
children: React.ReactNode;
|
|
className?: string;
|
|
}
|
|
|
|
export default function Title({ children, className }: TitleProps) {
|
|
return <h3 className={cn("text-2xl font-bold mb-2", className)}>{children}</h3>;
|
|
}
|