19 lines
445 B
TypeScript
19 lines
445 B
TypeScript
import type { PropType, VNode } from 'vue'
|
|
import { defineComponent } from 'vue'
|
|
|
|
export default defineComponent({
|
|
name: 'AoDescriptions',
|
|
props: {
|
|
label: {
|
|
type: [String, Object, Function] as PropType<string | VNode | (() => string | VNode)>,
|
|
},
|
|
content: {
|
|
type: [String, Object, Function] as PropType<string | VNode | (() => string | VNode)>,
|
|
},
|
|
span: {
|
|
type: Number,
|
|
default: 1,
|
|
},
|
|
},
|
|
})
|