Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
Tags
- tomcat
- xPlatform
- Python
- Java
- MSSQL
- R
- mapreduce
- Kotlin
- Android
- JavaScript
- window
- Eclipse
- SPC
- plugin
- 공정능력
- Express
- IntelliJ
- es6
- table
- GIT
- NPM
- 보조정렬
- SSL
- mybatis
- Sqoop
- Spring
- react
- vaadin
- SQL
- hadoop
Archives
- Today
- Total
DBILITY
react react-toastify 본문
반응형
nextjs에서도 당연히 사용 가능하다.
ToastContainer 콤포넌트를 삽입하고 사용하면 된다. 표시영역인가보다.
<ToastContainer position={"top-right"} limit={5} hideProgressBar={true} newestOnTop={true} closeOnClick={true}/>
.toast_alert {
background: #ecaa12 !important;
color: white !important;
font-weight: bold
}
toast.warning("입력값을 확인하세요", {className: "toast_alert", theme: "colored"});
https://fkhadra.github.io/react-toastify/introduction
React-toastify | React-Toastify
[![Financial Contributors on Open Collective](https://opencollective.com/react-toastify/all/badge.svg?label=financial+contributors)](https://opencollective.com/react-toastify) ![Travis (.org)](https://img.shields.io/travis/fkhadra/react-toastify.svg?label=
fkhadra.github.io
반응형
'front-end & ui > react' 카테고리의 다른 글
react .env (0) | 2023.06.09 |
---|---|
react image src path (0) | 2023.06.09 |
react redux redux-toolkit (0) | 2023.04.13 |
react styled component (0) | 2023.04.12 |
react cors proxy (0) | 2023.03.09 |
Comments