I'll echo what's been said already.
Really tough news to deal with for sure.
I remember when my cousin got pregnant at a young age. My aunt/uncle were really upset, embarassed, etc, but with the support of most of the family, they were able to eventually come to grips with it all.
Her daughter is 8 now and is smart as a whip. She has a lot of great talents, and will go far in life.
The only mistake they've made, IMO, is my aunt/uncle have done TOO much to help my cousin raise her daughter. You should see them interact. It's more of a sister relationship than mom/daughter now because the daughter has her grandparents as authority figures (and she sees how they interact with my cousin).
My cousin has never been able to get on her feet well enough to move out on her own and raise her daughter.
She's just now starting a good life for herself, so hopefully she'll eventually be able to take her daughter rather than leave everything up to mom and dad.
Although at this point, I'm willing to bet they'll have a hard time letting go since they've pretty much raised her as their own.
Who knows.
Anyway, the only reason that I share that is in hopes that you don't make the same mistakes as them. I think it's great that they were supportive of her, but at the same time, I think they let things go too far. They should have pushed her to be more self-sufficient, but they never did, so she became accustomed to letting them come to her rescue (there's a lot more history there).
I can understand, as a parent, you love your kids and would do anything for them, but don't be afraid to give a bit of tough love either.
They won't learn any of life's hard lessons if they always have mom and dad to fall back on.
Be supportive, but also show her the way to become a responsible mom and adult, and insist that she follow through.