Toast .d.ts updated

pull/3711/head
Tuğçe Küçükoğlu 2023-03-07 11:00:47 +03:00
parent 90f073321a
commit 00bd61d58d
1 changed files with 12 additions and 0 deletions

View File

@ -10,6 +10,9 @@
import { ButtonHTMLAttributes, VNode } from 'vue'; import { ButtonHTMLAttributes, VNode } from 'vue';
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers'; import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
/**
* Defines message options in Toast component.
*/
export interface ToastMessageOptions { export interface ToastMessageOptions {
/** /**
* Severity level of the message. * Severity level of the message.
@ -48,6 +51,9 @@ export interface ToastMessageOptions {
contentStyleClass?: any; contentStyleClass?: any;
} }
/**
* Defines breakpoints type in Toast component.
*/
export interface ToastBreakpointsType { export interface ToastBreakpointsType {
/** /**
* Breakpoint for responsive mode. * Breakpoint for responsive mode.
@ -119,6 +125,9 @@ export interface ToastProps {
closeButtonProps?: ButtonHTMLAttributes | undefined; closeButtonProps?: ButtonHTMLAttributes | undefined;
} }
/**
* Defines valid slot in Toast component.
*/
export interface ToastSlots { export interface ToastSlots {
/** /**
* Custom message template. * Custom message template.
@ -132,6 +141,9 @@ export interface ToastSlots {
}): VNode[]; }): VNode[];
} }
/**
* Defines valid emits in Toast component.
*/
export interface ToastEmits {} export interface ToastEmits {}
/** /**