Add button to top menu

I’m trying to achieve the same outcome Header Menu Link - text in button. I used the component from here: Custom Header Links
Am not sure how to work with the component to customize based on this thread, any tips?