I'm on SSDI and work part time. You're allowed to work a certain number of hours. There are accomodations for me at work. Mood disorders especially bipolar can make it very difficult to do a good job because of our shifting moods. I get about $700/month for SSDI and then my kids all got $250 until they turned eighteen. So it did help, but it's not a fortune. In my case, I had a lot of trouble keeping jobs because of the mood problems and the various neurological/learning issues (like face blindness and spatial orientation problems) that often stop me from being able to do simple tasks. I got fired a lot. I think they took that into account. It's a personal choice, but I feel much calmer knowing at least some money will come in every month and that I can take a calmer job with accommodations, which I need.
Along with the social security disability, I also get Medicare/Medicaid although I may not be able to keep the Medicaid after my daughter turns eighteen.
If you have the ability to work, both mentally and cognitively, it may be better to keep doing it.