File tree 4 files changed +7
-7
lines changed
4 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 9
9
"prop-types" : " ^15.5.10"
10
10
},
11
11
"devDependencies" : {
12
- "react-scripts" : " 1.0.11 "
12
+ "react-scripts" : " 1.0.13 "
13
13
},
14
14
"scripts" : {
15
15
"start" : " react-scripts start" ,
Original file line number Diff line number Diff line change 1
1
import React , { Component } from 'react' ;
2
- import TwitterLogin from 'react-twitter-login/src/index ' ;
2
+ import TwitterLogin from 'react-twitter-auth/lib/react-twitter-login-component.js ' ;
3
3
4
4
class App extends Component {
5
5
Original file line number Diff line number Diff line change 3
3
"version" : " 0.0.1" ,
4
4
"description" : " A Twitter loging component" ,
5
5
"scripts" : {
6
- "build:develop" : " cross-env NODE_ENV=development webpack src/index.js lib/react-twitter-login -component.js" ,
7
- "build:production" : " cross-env NODE_ENV=production webpack src/index.js lib/react-twitter-login -component.min.js" ,
6
+ "build:develop" : " cross-env NODE_ENV=development webpack src/index.js lib/react-twitter-auth -component.js" ,
7
+ "build:production" : " cross-env NODE_ENV=production webpack src/index.js lib/react-twitter-auth -component.min.js" ,
8
8
"lint" : " eslint src/ --fix" ,
9
9
"clean" : " rm -rf node_modules && rm -rf bin"
10
10
},
11
- "main" : " lib/react-twitter-login -component.js" ,
11
+ "main" : " lib/react-twitter-auth -component.js" ,
12
12
"repository" : {
13
13
"type" : " git" ,
14
- "url" : " git+https://github.com/GenFirst/react-twitter-login .git"
14
+ "url" : " git+https://github.com/GenFirst/react-twitter-auth .git"
15
15
},
16
16
"keywords" : [
17
17
" React" ,
Original file line number Diff line number Diff line change @@ -96,7 +96,7 @@ class TwitterLogin extends Component {
96
96
onClick : this . onButtonClick ,
97
97
style : this . props . style ,
98
98
disabled : this . props . disabled ,
99
- className : this . props , className,
99
+ className : this . props . className ,
100
100
} , this . props . children ? this . props . children : this . props . text
101
101
) ;
102
102
return twitterButton ;
You can’t perform that action at this time.
0 commit comments