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
368 B
Vue

<template>
<view class="ch-flex-item" :class="flexCls">
<slot></slot>
</view>
</template>
<script setup>
import { computed, defineProps } from 'vue';
const props = defineProps([
'flex'
])
const flexCls = computed(() => {
return props.flex ? `ch-flex--${props.flex}` : ''
})
</script>
<style lang="scss" scoped>
@import './ch-flex-item.scss'
</style>