Pass down the functions made in actions through props. Then, apply an onclick function to the button to call the action that gets information from the API.
Source: https://github.com/danyonsatterlee/youtube-examples/tree/master/color-fun
Series overview: