수기발행

This commit is contained in:
focp212@naver.com
2025-10-22 09:51:17 +09:00
parent fc24c66395
commit ead259e91e
4 changed files with 71 additions and 19 deletions

View File

@@ -0,0 +1,20 @@
import { Dialog } from '@/shared/ui/dialogs/dialog';
import { overlay } from 'overlay-kit';
export const showAlert = (msg: string) => {
overlay.open(({
isOpen,
close,
unmount
}) => {
return (
<Dialog
afterLeave={ unmount }
open={ isOpen }
onClose={ close }
message={ msg }
buttonLabel={ ['확인'] }
/>
);
});
};