Taoiseach Leo Varadkar has encouraged an Irish woman who the Dáil heard "was sacked" from her job in an Israeli technology company over her comments on social media about the conflict in Gaza to get legal advice.

Mr Varadkar said that he was "not aware" of the case of Courtney Carey, but added that she "may well" have been unfairly dismissed.

"Under Irish employment law it is not okay to dismiss somebody because of their political views, and certainly would believe that to be wrong," he told the Dáil.

"I would encourage the woman concerned to seek advice, whether it's from the WRC or the trade union or a solicitor, because it may well constitute wrongful dismissal," he added.

"There are remedies that would then apply," Mr Varadkar said. "But of course, all the facts would need to be known before we know what the outcome would be."

He was responding to Solidarity-People Before Profit TD Richard Boyd-Barrett, who said Ms Carey had contacted him to say that she "was sacked yesterday".

Ms Carey worked for software company Wix, which has offices in Grand Canal Dock in Dublin, and provides a platform for people to build websites.

Mr Boyd-Barrett criticised Wix for what he called "shocking behaviour", and said that Ms Carey "reports very worryingly" that the company had encouraged people "to put up pro-Israeli content and posts in company updates".

In posts on the social media site LinkedIn, Ms Carey had said: "The root cause of this violence is a Zionist ideology which promotes an exclusivist state which denies Palestinian identity it is also an expansionary ideology, promoting illegal settlements on Palestinian land."

The post was one of a number pro-Palestinian comments made by Ms Carey.

She also said that her posts were not in support of Hamas and she condemned all forms of "terrorism".

In a public statement, the company's president said they "would never try to limit anyone’s political views".

"We do however also hold a strong set of internal values about our team spirit, partnership and friendship," Nir Zohar said. Mr Zohar added that Wix was a "global, open and liberal company".

He said that the accusations "harmed our Israeli team’s spirit", adding that "we therefore decided to part ways with this employee".