Danica McKellar breast-fed her son until he was 2 1/2

May 20, 2013 at 12:18 a.m. ET

Danica McKellar was just a kid when we first met her, but she is now a mom — and she's the type of parent she wants to be.

Danica McKellar Danica McKellar first came into our homes, and our hearts, in the 1980s series The Wonder Years. But now she has a child of her own, and she appeared on Good Morning America this week to talk about her views on parenting.

Danica McKellar inspires girls to show their smarts >>

"McKellar is a proponent of attachment parenting, a style of child rearing that focuses on forming nurturing bonds through, among other things, extended breast-feeding, co-sleeping (allowing child to sleep in the same bed with parents), positive discipline and constantly being physically close to the child,” according to ABC News.

She knows her parenting style may not be conventional, but it is what worked for her and her child.

"I breast-fed my child till he was 2 1/2," McKellar told ABC News' Abbie Boudreau. "That was just, like, a few weeks ago that we stopped. Big transition."

Weird celebrity parenting methods >>

The 38-year-old actress said that transition was a big one, and she knew her son Draco was ready to move on before she was.

"I just sensed that it was time that he needed to be a little more independent," she said.

The parenting style is becoming more common (or perhaps just more in the open), with other Hollywood moms talking about the trend, including Alanis Morissette and Mayim Bialik.

McKellar wants to make sure people don't misunderstand what she is trying to share.

"Cuddling, being close, you know, sleeping in the same bed sometimes, wearing him in a sling, long-term breast-feeding — all have to have this closeness," she said. "On the other hand, doing everything your child wants you to do right when they want you to do it is another thing. Spoiling them is completely different."

While the actress-turned-author doesn't want people misunderstanding her, she also doesn't seem to care what anyone thinks about what she is doing, because she knows it works for her.

Attachment parenting and adoption >>

"I know there can be judgment out there, and I encourage moms to do whatever feels right," she said, according to the Huffington Post. "And if they choose to breast-feed longer than is 'typical,' I say this to them: You go girl!"

Photo courtesy WENN.com