Creating item with new custom cooldown component

I'm used to using MCStacker and it does not list the latest 1.21.2 datapack changes, how do I go about adding a item with a custom cooldown component
Continue to help post