mirror of
https://github.com/antd-tiny-vue/antd-tiny-vue.git
synced 2025-03-15 07:04:33 +08:00
10 lines
200 B
TypeScript
10 lines
200 B
TypeScript
import { defineComponent } from 'vue'
|
|
export default defineComponent({
|
|
name: 'AButton',
|
|
setup(props, { slots }) {
|
|
return () => {
|
|
return <button>{slots.default?.()}</button>
|
|
}
|
|
}
|
|
})
|