getComponent const