import { buildProps } from '@kankan-components/utils'
import type { ExtractPropTypes } from 'vue'
import type bubble from './bubble.vue'

export const bubbleProps = buildProps({
    type: {
        type: String,
        default: 'right',
    },
    show: {
        type: Boolean,
        default: true,
    },
    level: {
        type: String,
        default: '',
        require: false,
    },
})

export type BubbleProps = ExtractPropTypes<typeof bubbleProps>

export type BubbleInstance = InstanceType<typeof bubble>
