Skip to content

Commit

Permalink
docs(readme): update readme with correct require
Browse files Browse the repository at this point in the history
  • Loading branch information
jessepollak committed Nov 23, 2016
1 parent f58ac7b commit 17c7e16
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ npm install --save instant2fa-component
```javascript
// UserSettings.jsx
import React from 'react';
import Instant2FAComponent from './src/Instant2FAComponent.jsx';
import Instant2FAComponent from 'instant2fa-component';

const UserSettings = () => {
return (
Expand All @@ -31,7 +31,7 @@ export default UserSettings;
```javascript
// UserVerification.jsx
import React from 'react';
import Instant2FAComponent from './src/Instant2FAComponent.jsx';
import Instant2FAComponent from 'instant2fa-component';

const UserVerification = () => {
const onEvent = (event) => {
Expand Down

0 comments on commit 17c7e16

Please sign in to comment.