Thanks for the response. I was able to get it to work by using the function prop method.