Files
workspace/code/base-project/base-vue/packages/ao-design/src/descriptions/descriptions.tsx
T
2025-09-23 17:29:46 +08:00

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,
},
},
})