allow react components to be passed into cells