Preeclampsia at 21 weeks

I'm in the hospital. I just got done with an ultrasound to see our perfectly healthy little girl, but my BP is high and I have protein in my urine. They keep bringing up delivering a non-viable fetus. I'm so devastated. I told them I need more time. So they will monitor me for other symptoms and if any more appear then they will make me deliver. I saw her littl hand and foot today, her cute little profile. I can't believe this is happening.