mirror of
https://github.com/streamyfin/streamyfin.git
synced 2026-02-22 12:02:22 +00:00
29 lines
640 B
TypeScript
29 lines
640 B
TypeScript
import React from "react";
|
|
import { Text } from "@/components/common/Text";
|
|
import { useScaledTVTypography } from "@/constants/TVTypography";
|
|
|
|
export interface TVSectionHeaderProps {
|
|
title: string;
|
|
}
|
|
|
|
export const TVSectionHeader: React.FC<TVSectionHeaderProps> = ({ title }) => {
|
|
const typography = useScaledTVTypography();
|
|
|
|
return (
|
|
<Text
|
|
style={{
|
|
fontSize: typography.callout,
|
|
fontWeight: "600",
|
|
color: "#9CA3AF",
|
|
textTransform: "uppercase",
|
|
letterSpacing: 1,
|
|
marginTop: 32,
|
|
marginBottom: 16,
|
|
marginLeft: 8,
|
|
}}
|
|
>
|
|
{title}
|
|
</Text>
|
|
);
|
|
};
|