Here is a simple component where I\'m adding buttons dynamically:
const MyCompanent = ({ listOfButtons }) => { const handleOnKeyUp = (event) => {