Lightweight Material Design styled alert and dialog components for React applications
React 애플리케이션을 위한 가볍고 Material Design 스타일의 알림 및 다이얼로그 컴포넌트
npm install @ehfuse/alerts
import { SuccessAlert, AlertProvider, AlertDialog } from "@ehfuse/alerts";
// Simple alert (no provider needed)
SuccessAlert("Hello World!");
// Dialog (requires AlertProvider)
function App() {
return (
<AlertProvider>
<button onClick={() => AlertDialog("Title", "Message")}>
Show Dialog
</button>
</AlertProvider>
);
}
© 2025 KIM YOUNG JIN (ehfuse@gmail.com) - MIT License