A Gaza health official says two Palestinians have been killed in an Israeli airstrike as fighting continued for a third day after the collapse of Egyptian-led cease-fire talks.

The official, Ashraf al-Kidra, says the two were workers at a livestock farm that was hit in the airstrike.

The Israeli military says it carried out 20 airstrikes early on Friday, targeting rocket launchers and weapons sites. It says Gaza militants fired two rockets at Israel.

Earlier this week, Hamas had rejected an Egyptian cease-fire proposal under which Israel would gradually ease its blockade of Gaza, without giving specific commitments.

Ismail Haniyeh, a senior Hamas official, was quoted as saying by the Hamas-linked Al Rai news service that his group would not accept anything short of an end to the blockade.