This commit is contained in:
Viet An
2026-05-08 15:11:02 +07:00
parent ad2d1fbfb6
commit 6f247db4b5
7 changed files with 424 additions and 343 deletions

View File

@@ -1,19 +1,13 @@
<template>
<span :class="`icon-text fsb-${props.size || 17} ${props.type || 'has-text-primary'}`">
<span>{{ title }}</span>
<SvgIcon
id="ignore"
v-bind="{
name: 'right.svg',
type: props.type ? props.type.replace('has-text-', '') : null,
size: (props.size >= 30 ? props.size * 0.7 : props.size) || 20,
alt: 'Mũi tên chỉ hướng',
}"
></SvgIcon>
<span :class="`icon-text is-flex-wrap-nowrap font-semibold fs-${props.size || 16} ${props.type || ''}`">
<span style="text-wrap: nowrap">{{ title }}</span>
<span class="icon">
<Icon name="material-symbols:arrow-forward-ios-rounded" />
</span>
</span>
</template>
<script setup>
var props = defineProps({
const props = defineProps({
type: String,
size: Number,
title: String,