mirror of
https://github.com/OpenHands/OpenHands.git
synced 2026-03-22 13:47:19 +08:00
12 lines
262 B
TypeScript
12 lines
262 B
TypeScript
import { type PropsWithChildren } from "react";
|
|
import { Toaster, type ToasterProps } from "sonner";
|
|
|
|
export const ToastManager = (props: PropsWithChildren<ToasterProps>) => {
|
|
return (
|
|
<>
|
|
<Toaster {...props} />
|
|
{props.children}
|
|
</>
|
|
);
|
|
};
|