Improve report
Signed-off-by: Charles de Dreuille <charles.dedreuille@gmail.com>
This commit is contained in:
committed by
Patrik Oldsberg
parent
d007f23162
commit
0cb14cb5d9
@@ -1937,10 +1937,8 @@ export const swappableComponentsApiRef: ApiRef_2<SwappableComponentsApi>;
|
||||
|
||||
// @public
|
||||
export type ToastApi = {
|
||||
post(toast: ToastApiMessage): string;
|
||||
close(key: string): void;
|
||||
post(toast: ToastApiMessage): ToastApiPostResult;
|
||||
toast$(): Observable<ToastApiMessageWithKey>;
|
||||
close$(): Observable<string>;
|
||||
};
|
||||
|
||||
// @public
|
||||
@@ -1955,6 +1953,12 @@ export type ToastApiMessage = {
|
||||
// @public
|
||||
export type ToastApiMessageWithKey = ToastApiMessage & {
|
||||
key: string;
|
||||
close(): void;
|
||||
};
|
||||
|
||||
// @public
|
||||
export type ToastApiPostResult = {
|
||||
close(): void;
|
||||
};
|
||||
|
||||
// @public
|
||||
|
||||
@@ -1021,10 +1021,7 @@ const appPlugin: OverridableFrontendPlugin<
|
||||
export default appPlugin;
|
||||
|
||||
// @public
|
||||
export function ToastDisplay(props: ToastDisplayProps): JSX_3.Element;
|
||||
|
||||
// @public
|
||||
export interface ToastDisplayProps {
|
||||
export interface ToastApiMessageDisplayProps {
|
||||
// @deprecated
|
||||
anchorOrigin?: {
|
||||
vertical: 'top' | 'bottom';
|
||||
@@ -1033,5 +1030,8 @@ export interface ToastDisplayProps {
|
||||
transientTimeoutMs?: number;
|
||||
}
|
||||
|
||||
// @public
|
||||
export function ToastDisplay(props: ToastApiMessageDisplayProps): JSX_3.Element;
|
||||
|
||||
// (No @packageDocumentation comment for this package)
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user