react-toastify-doc's People
Forkers
lihs-kongdang sinalpereira heytulsiprasad purini39 htookyaw223 saidulam gendosu leesaturno simineft karenok baghlani arpit20kumar timrodz mateusbraz jnalbrecht shivanshbtw barrbozzo mahendrakkbk nightstormy nafaska nhan2804 bsrikanth88 iqballsiddik levonvinous joaopedr0vieira ruuscht uropt lamine450 tinywomanintech hadisefazlikhani malaa5260 phaizt likewd faustgsdev sarah-muhammad nightmareinc tapasmaity ranjanagupta10 aktasilyas isamensatto synergyai-haegun zecka zeckaissue roy-sourav-dev deyayan gitryder nguyendinhkhiem123 sandeep-vengageai ourystd saeedhashtagbazaar ihorperelyhin 007asho lzhao69 paulsmithkc jamesdfrearson osmanclockwork karthick-fk akhil030698 rarc41 dildora6604 alexeysergeev-cm ayushi-talewar-21 tawani naveenvuk tamanhthuc saul-hc fmbatha vishalhp01 tonymens31 techydeepanshu hmu332233 eroblaze dcantatore nurul2022 rohit2409 tomohirohamasaki shahin093 wellington-henrique annastrin jesslyoung rashadrabby anjanish-kumar mahmoudfawzy4444 tranngoctien47 kaliloaida reza-h-farhang dazlygonsalves hwillows kachanovskyi sanjay052020 aryanomar00 rakhmatullohr garga-chakrabarty-scope wtsarab pquoc693 angeldarco rawatdev nqcthedev androiddevnotesforks umaramin66react-toastify-doc's Issues
Fix: Auto close issue on toast not functioning properly
Resolved the issue where the auto close feature on toasts was not working as intended
Contribute link is broken
https://fkhadra.github.io/react-toastify/introduction/CONTRIBUTING.md
The contribute link on the introduction page is copy-pasted from the main repo's README, and because there's no CONTRIBUTING.md file under the docs directory, Docusaurus returns 404.
I would like to work on this.
toast.promise is not a function
I've been trying to use toast.promise but I keep getting the same error, "toast.promise is not a function"
Update default code theme to display copy badge
The default code theme of the code snippets (in light theme) doesn't show the Copy badge on the top right corner, but shows a black box with no badge text in it. However, it shows up in dark theme as fine.
Reproduce the issue
I've tried opening the site on these browsers, of which I've attached a screenshot of a random codeblock.
I believe this issue would be the same for all browsers (as it might be rendering the same theme everywhere)
Possible fixes
I think it can be solved if we add a different code theme for light mode than using same for both dark and light modes.
Include 'toastId' prop in toast API docs page
The PR fkhadra/react-toastify#220 enabled setting the toast id manually by passing a toastId
prop, but this doesn't seem to be reflected in toast() API docs. Happy to create a PR with a fix if needed.
vid
noti-center.mov
Dropdown elements of Transition not visible.
Playground: Changing transition doesn't update code
When changing transition, the notification is updated, but the code is not.
css variable diagram or explanation
Hi, I have found it confusing which variable affects which aspect of the toast container. The names are kind of explicit but my assumptions weren't always right. For instance, I want to change the background color but I am using a theme. Do I use --toastify-color-dark
or --toastify-toast-background
.
I think it would be super helpful to label an image with what is where or at least add some comments to https://fkhadra.github.io/react-toastify/how-to-style/#override-css-variables to generally explain what they affect. Or add the variables to the playground so we can fool with them there to see what they do?
stacked toast vid
toastify.mov
Playground: Changing theme doesn't update code
such as the title
Code sample for passing functions to `toastClassName`
The example here assumes context param is an object but is possibly undefined.
// type doesn't exist on type { //... } | undefined
toastClassName={({ type }) => contextClass[type || "default"] +
" relative flex p-1 min-h-10 rounded-md justify-between overflow-hidden cursor-pointer"
}
Code samples for basic setup
Add basic example code on the installation page instead of having to watch a 10 minute video. Also means that less mistakes will be made, even when using said video, so that you can copy and paste the basics easily.
Fix invalid example CSS classes
The CSS class code on the example page appears to be invalid.
https://fkhadra.github.io/react-contexify/how-to-style
The class on the example page differs from the css class written in the source code.
/* exmaple class on the example page */
.contexify__item {
border: 1px solid red; /* Not Working */
}
.contexify_item {
border: 1px solid red; /* Working */
}
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.