My son did it for a while too. Give her no reaction at all. She'll eventually realise it's not getting her the attention or reaction she's after and she'll grow out if it. They're still developing and learning how to express their emotions. It's there way of letting you know they're frustrated or angry
My one year old does the same thing. I just ignore it because I think most of the time she's just looking for a reaction. Drives me crazy though because we have hardwood floors and it leaves a bruise. 🤦🏻♀️