It would depend on type and value of the assets being donated, and how the donation is done (including the relationship between the giver and the company). It's not just taxes you need to worry about, but also how to reflect it correctly in the accounting of the company.
The general rule is it would be considered some form of taxable income, but it's best to speak with a tax adviser to be absolutely sure what would apply in your circumstance.
Have you considered having the company buy the assets instead? If it's a valid business cost, you could use it to incur a loss/lower︀ the tax burden. Might be something also worth discussing with a tax adviser.