t-fighting-design
Version:
Fighting design can quickly build interactive interfaces in vue3 applications, which looks good.
19 lines (15 loc) • 557 B
TypeScript
import type { MessagePlacementType } from '../../message/src/interface'
import type { NotificationPlacementType } from '../../notification/src/interface'
import type { MessageInstance } from '../../_interface'
import type { Component } from 'vue'
export interface DefaultOptionsInterface {
message: { placement: MessagePlacementType }
notification: { placement: NotificationPlacementType }
}
export interface ComponentVueInterface {
message: Component
notification: Component
}
export interface InstanceInterface {
(options): MessageInstance
}