Apple Magic Mouse supported on Framework 13" with UBUNTU

I am coming from a MacBook Air & have a Magic Mouse. I’ve placed a pre-order for a DIY system with AMD. I plan to run Ubuntu on my Framework. Will there be any issues using the left and right press on the mouse as well as gestures with Ubuntu?

This q isn’t framework specific. Just google magic mouse compatibility with Ubuntu.