import { View } from "@tarojs/components";

export default function TitleInfo(props: { module: any }) {
  const { module } = props;
  const { config } = module;

  return (
    <View
      key={module.id}
      className={"preview grid w-full grid-cols-8 gap-0 text-2xl font-bold"}
    >
      <View className="col-span-8 flex items-end justify-center">
        {config.title}
      </View>
    </View>
  );
}
