types: Adding BfFrom Component types

This commit is contained in:
kailong321200875
2021-12-11 20:50:05 +08:00
parent 641ed684fe
commit 8e036f54b5
9 changed files with 303 additions and 180 deletions

View File

@@ -1,3 +1,8 @@
import BfFrom from './src/BfForm.vue'
export interface BfFormExpose {
count: number
sayHello: () => void
}
export { BfFrom }

View File

@@ -1,6 +1,12 @@
<script lang="ts" setup>
<script lang="tsx" setup>
// import { ref } from 'vue'
// import { ElCol, ElRow } from 'element-plus'
// import { propTypes } from '@/utils/propTypes'
// import { array } from 'vue-types'
import { array } from 'vue-types'
defineProps({
schema: array<BfFormSchema>()
})
</script>
<template>