veui
Version:
Baidu Enterprise UI for Vue.js.
31 lines (23 loc) • 529 B
TypeScript
import { VeuiDefineComponent, VeuiDefineInstance, UiMixin } from '../common'
type Props = {
status?: string
title?: string
message?: string | Array<string>
closable?: boolean
open?: boolean
index?: number
/** @deprecated */
type?: string
}
type Emits = {}
type Mixins = UiMixin
type Slots = {
default(): unknown
title(): unknown
extra(): unknown
content(): unknown
}
type Alert = VeuiDefineComponent<{
new (...args: any[]): VeuiDefineInstance<Props, Emits, Slots, Mixins>
}>
export default Alert