A button component that triggers a specified onClick function when clicked. The button's text, type, and top margin can be customized.