Eva Mendes sparked a debate in the comments section of her Instagram page.

The 47-year-old actress shared her view on spanking children in a post on Monday and a number of users responded back disagreeing. 

"I'm often asked what my favorite red carpet dress is. This @versace is definitely up there. Im not often asked what my favorite parenting quote is, but I'll post it anyway," Mendes wrote. "Spanking does for a child's development what hitting a spouse does for a marriage."

The "Hitch" actress shares two daughters Esmeralda Amada, 6, and Amada Lee, 4, with partner Ryan Gosling. 

EVA MENDES REVEALS WHY SHE DOESN'T SHARE IMAGES OF RYAN GOSLING AND HER KIDS

Eva Mendes and Ryan Gosling share two daughters together. 

Eva Mendes and Ryan Gosling share two daughters together.  (Getty)

In the comment section, several followers didn't agree with Mendes' methods, with one person writing, "I don't know. I was spanked and now I'm a respectful adult. And believe me, I deserved those whoopings. I was a brat."

Mendes responded, "Thank you for your comment. So happy to agree to disagree. Want this page to offer that in a loving way. We all parent our own way and I have no idea what I'm doing most the time."

EVA MENDES RESPONDS TO SOCIAL MEDIA USER WHO QUESTIONED RYAN GOSLING'S PARENTING

She added, "This didn't come with a manual 😩 so when there's something that resonates with me, I pass it on. Lotsa love ❤️."

Another person wrote how they "completely disagree" and their "goal in raising kids is not to have to spank, but it's correcting before they can reason behavior out with you. Completely different from hitting someone. That's not correcting behavior."

Eva Mendes declared on social media she doesn't believe in spanking children. 

Eva Mendes declared on social media she doesn't believe in spanking children.  (Rachel Murray/Getty Images for New York & Company)

"I totally respect you," the fashion designer replied. "Thank you for a respectful comment. So nice to disagree with respect. I found the quote powerful and wanted to pass it on. Lotsa love to and yours."

Mendes has taken a break from acting since welcome her two kids but said in October 2020 to The Sunday Morning Herald that after a few years at home with her kids, she's coming around to the idea of heading back to work.

EVA MENDES SAYS SHE'D 'RATHER BE HOME' WITH RYAN GOSLING 'THAN ANYWHERE ELSE'

"I applaud and look up to those women who can do it all, but I’m not one of them – and, thankfully, I have a choice not to work and I realize how fortunate I am that it’s even a choice," she said. "I’ve been so happy to be able to incubate with my babies, but now they are four and six, I’m starting to feel like my ambition is coming back."

While Mendes has loved her time at home with the little ones, she admitted that life in quarantine has been tough.

CLICK HERE TO GET THE FOX NEWS APP

"Sometimes it feels like we are running some kind of bed-and-breakfast with very drunk and aggressive guests," Mendes joked. "We really do feel like we are working in a hotel, and the guests are angry and bossy and demand food brought to them. And by the time they go to sleep, we’re left to just clean up and talk about how they’ve treated us that day!"