mirror of
https://github.com/solidtime-io/solidtime.git
synced 2026-08-09 08:42:15 +01:00
24 lines
460 B
Vue
24 lines
460 B
Vue
<script setup lang="ts">
|
|
import type { Component } from 'vue';
|
|
|
|
defineProps<{
|
|
title: string;
|
|
icon?: Component;
|
|
}>();
|
|
</script>
|
|
|
|
<template>
|
|
<h3
|
|
class="text-white font-bold pb-4 text-base flex items-center space-x-2.5">
|
|
<component
|
|
v-if="icon"
|
|
:is="icon"
|
|
class="w-6 text-icon-default"></component>
|
|
<span>
|
|
{{ title }}
|
|
</span>
|
|
</h3>
|
|
</template>
|
|
|
|
<style scoped></style>
|