Fix definitions

Signed-off-by: Charles de Dreuille <charles.dedreuille@gmail.com>
This commit is contained in:
Charles de Dreuille
2026-01-27 18:17:22 +00:00
committed by Patrik Oldsberg
parent c54471cda0
commit a3d1b1924c
2 changed files with 5 additions and 2 deletions
@@ -38,6 +38,9 @@ export const ToastDefinition = defineComponent<ToastOwnProps>()({
onSwipeEnd: {},
status: { dataAttribute: true },
icon: {},
surface: {},
className: {},
style: {},
},
});
+2 -2
View File
@@ -17,7 +17,7 @@
import type { ReactElement, ReactNode } from 'react';
import type { UNSTABLE_ToastQueue as RAToastQueue } from 'react-aria-components';
import type { QueuedToast } from 'react-stately';
import type { Responsive } from '../../types';
import type { Responsive, ContainerSurfaceProps } from '../../types';
/**
* Content for a toast notification
@@ -38,7 +38,7 @@ export interface ToastContent {
* Own props for the Toast component
* @internal
*/
export type ToastOwnProps = {
export type ToastOwnProps = ContainerSurfaceProps & {
/** Toast object from the queue */
toast: QueuedToast<ToastContent>;
/** Callback when swipe ends */