allow react components to be able to be passed as prop