I need to make a custom component that is a function instead of a class because Im using context/reducer hooks in react to manage the state across the bot and I'm wondering if the custom component can be a function and how I can access the previous steps prop, etc
I need to make a custom component that is a function instead of a class because Im using context/reducer hooks in react to manage the state across the bot and I'm wondering if the custom component can be a function and how I can access the previous steps prop, etc