File tree Expand file tree Collapse file tree 4 files changed +7
-7
lines changed
Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 99 "prop-types" : " ^15.5.10"
1010 },
1111 "devDependencies" : {
12- "react-scripts" : " 1.0.11 "
12+ "react-scripts" : " 1.0.13 "
1313 },
1414 "scripts" : {
1515 "start" : " react-scripts start" ,
Original file line number Diff line number Diff line change 11import 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 ' ;
33
44class App extends Component {
55
Original file line number Diff line number Diff line change 33 "version" : " 0.0.1" ,
44 "description" : " A Twitter loging component" ,
55 "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" ,
88 "lint" : " eslint src/ --fix" ,
99 "clean" : " rm -rf node_modules && rm -rf bin"
1010 },
11- "main" : " lib/react-twitter-login -component.js" ,
11+ "main" : " lib/react-twitter-auth -component.js" ,
1212 "repository" : {
1313 "type" : " git" ,
14- "url" : " git+https://github.com/GenFirst/react-twitter-login .git"
14+ "url" : " git+https://github.com/GenFirst/react-twitter-auth .git"
1515 },
1616 "keywords" : [
1717 " React" ,
Original file line number Diff line number Diff line change @@ -96,7 +96,7 @@ class TwitterLogin extends Component {
9696 onClick : this . onButtonClick ,
9797 style : this . props . style ,
9898 disabled : this . props . disabled ,
99- className : this . props , className,
99+ className : this . props . className ,
100100 } , this . props . children ? this . props . children : this . props . text
101101 ) ;
102102 return twitterButton ;
You can’t perform that action at this time.
0 commit comments