Skip to content

Commit

Permalink
Removed classnames package
Browse files Browse the repository at this point in the history
  • Loading branch information
erichodges committed Jul 27, 2019
1 parent f5e110c commit 0111c5f
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 20 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
"apollo-cache-inmemory": "^1.5.1",
"apollo-client": "^2.5.1",
"axios": "^0.18.0",
"classnames": "^2.2.6",
"d3-format": "^1.3.2",
"d3-scale": "^2.1.2",
"d3-time-format": "^2.1.3",
Expand Down
18 changes: 0 additions & 18 deletions src/components/styleComponents/DarkTextField.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,21 +31,3 @@ const DarkTextField = withStyles(styles)(props => {
});

export default DarkTextField;


//#2 Version
// const DarkTextField = ({classes}) => {
// return <TextField inputProps={classNames( "classes.underline", "classes.input")} />
// }

// export default withStyles(styles)(DarkTextField);


// OLD VERSION
// const DarkTextField = withStyles(styles)(props => {
// const { classes, ...other } = props;

// return <TextField inputProps={ classNames("classes.underline", "classes.input") } {...other} />;
// });

// export default DarkTextField;
2 changes: 1 addition & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3288,7 +3288,7 @@ class-utils@^0.3.5:
isobject "^3.0.0"
static-extend "^0.1.1"

classnames@^2.2.5, classnames@^2.2.6:
classnames@^2.2.5:
version "2.2.6"
resolved "https://registry.yarnpkg.com/classnames/-/classnames-2.2.6.tgz#43935bffdd291f326dad0a205309b38d00f650ce"
integrity sha512-JR/iSQOSt+LQIWwrwEzJ9uk0xfN3mTVYMwt1Ir5mUcSN6pU+V4zQFFaJsclJbPuAUQH+yfWef6tm7l1quW3C8Q==
Expand Down

0 comments on commit 0111c5f

Please sign in to comment.