Component TextInput method focus problem

Can someone help me to solve this problem ?
i m getting error when i try to focus on textInput with reference using focus() method.