Cant import external library

#1

I need to use ‘react-native-sensitive-info’ external library to save auth token.
My app was created using ‘create-react-native-app’.
Then I ran ‘npm install -g exp’ and ‘exp detach’. Folders ‘ios’ and ‘Android’ were created successfully.
Then I have installed and linked library using ‘yarn add react-native-sensitive-info’ and ‘react-native link’.

I have imported library in .js file : ‘import SInfo from ‘react-native-sensitive-info’;’

Value of SInfo is ‘undefined’. What is the problem? Did I miss something?