Skip to content

Commit ac4371f

Browse files
committed
fix(toast): fix types
1 parent 4eb2c50 commit ac4371f

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/components/Toast/Toast.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ import { Alert, AlertProps } from '../Alert';
88
// Animation taken from https://medium.com/@norbajunior/react-native-facebook-and-instagram-like-top-bar-notifications-with-animated-api-43c48d0443dd
99
export type ToastId = string;
1010

11-
export interface ToastSettings extends Omit<AlertProps, 'onClose'> {
11+
export interface ToastSettings
12+
extends Omit<Omit<AlertProps, 'onClose'>, 'theme'> {
1213
id?: ToastId;
1314
offset?: number;
1415
/* duration for how long the toast should stay active */

0 commit comments

Comments
 (0)