import Typography from "@mui/material/Typography";

export function IssueViewDetailTitle({
  isDark,
  title,
}: {
  isDark: boolean;
  title: string;
}) {
  return (
    <Typography
      sx={{
        color: isDark ? "#ffffff" : "#181d27",
        fontSize: { xs: 22, md: 24 },
        fontWeight: 700,
        lineHeight: 1.3,
      }}
    >
      {title}
    </Typography>
  );
}
