A pregnant Texas woman beat the coronavirus — then delivered healthy triplets weeks later.

“As a mom, you want control, but right now, you have to accept that you don’t have control of everything,” said the mother, only identified as Maggie, in a Facebook posting Friday.

According to the Women’s Hospital of Texas in Houston, where Maggie delivered her triplets, she learned she was COVID-19 positive after a routine check-up on May 8 when she was 28 weeks pregnant.

Maggie was given a test for the contagion at the time, which is protocol, and learned two days later — Mother’s Day — that she was positive for it, said a posting on the hospital’s Instagram page.

The post also included a photo of the beaming mom holding her now weeks’ old babies.

“Meet the #firecracker who beat #COVID19 during her 3rd trimester then delivered healthy #triplets with an attitude brighter than fireworks on the #FourthofJuly,” the hospital wrote next to the photo.

When she was first diagnosed, Maggie, who already has a 5-year-old son with her husband, was concerned about “everyone but herself,” the hospital said.

Over the next few weeks, she was given a total of five coronavirus tests, the hospital added in its Facebook missive.

Then “On June 4 … with the final two [tests] negative, Maggie learned during her weekly ultrasound that “Baby A’s” cord was wrapped around her neck, and she would have a C-section that day at 4 p.m.,” the hospital said.

Her husband wasn’t allowed to be with her in the delivery room because he’d also previously tested positive for the virus, and while cleared in one follow-up test, he “hadn’t received his second negative test,” so her mother was her “one support person during labor,” the hospital said.

“At 4:51 p.m., “Baby A,” Isabella, was born at 3.11 lbs. At 4:53 p.m., “Baby B,” Nathaniel, was born at 3.7 lbs. Finally, at 4:55 p.m., “Baby C,” Adriel, was born at 2.1 lbs. ” the hospital said.

“The doctors and nurses were amazed by how well Maggie did. She and her babies, who arrived in perfect ABC order, were healthy, safe and undeniably resilient.”

Maggie told other mothers on the hospital’s Facebook page, “You have to let other people help you and remember you aren’t alone. Look forward to each day and celebrate every small victory.”

On June 9, Texas recorded its highest number of coronavirus-related hospitalizations since May 5, and the state has been locked in a battle since against soaring related figures.