init
This commit is contained in:
21
src/component/quote/index.vue
Normal file
21
src/component/quote/index.vue
Normal file
@@ -0,0 +1,21 @@
|
||||
<script lang="ts">
|
||||
export default {
|
||||
name: "LayQuote",
|
||||
};
|
||||
</script>
|
||||
|
||||
<script setup lang="ts">
|
||||
import "./index.less";
|
||||
|
||||
export interface QuoteProps {
|
||||
type?: string;
|
||||
}
|
||||
|
||||
const props = defineProps<QuoteProps>();
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div class="layui-quote" :class="[type ? `layui-quote-${props.type}` : '']">
|
||||
<slot></slot>
|
||||
</div>
|
||||
</template>
|
||||
Reference in New Issue
Block a user