pass callback to action instead of passing the component