import { Typography } from "antd";
import { twMerge } from "tailwind-merge";

const { Text } = Typography;

export const Title = ({ text, className }) => {
  return (
    <div className={className}>
      <Text type="secondary" className={twMerge("uppercase")}>
        {text}
      </Text>
    </div>
  );
};
