The XBee S2C capable of using any 2.4GHz SMA antenna?

I’m planning to buy XBee S2C modules that can be connected with 2.4GHz Duck SMA antenna. My concern is about the compatibility of any 2.4GHz SMA antenna to the XBee module?

These are my options:
https://docs-apac.rs-online.com/webdocs/116f/0900766b8116fe65.pdf
https://www.sparkfun.com/datasheets/Wireless/Antenna/DA-24-04.pdf