You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
399 B
Vue

<template>
<view class="ch-nav-btn">
<uni-icons v-if="props.showIcon || props.icon" :type="props.icon" :size="props.iconSize" :color="props.color"/>
<slot/>
</view>
</template>
<script setup name="ChNavBtn">
import { defineProps } from 'vue';
const props = defineProps([
'icon',
'iconSize',
'showIcon',
'color'
])
</script>
<style lang="scss" scoped>
@import 'ch-nav-btn.scss';
</style>