<template>
  <FlexRow :padding="[10,0,10,10]">
    <Text 
      :fontConfig="second ? 'subSecondText' : 'subTitle'"
      :text="title"
    />
  </FlexRow>
</template>

<script setup lang="ts">
import Text from '@/components/basic/Text.vue';
import FlexRow from '@/components/layout/FlexRow.vue';

const props = defineProps<{
  title: string;
  desc?: string;
  second?: boolean;
}>();
</script>
