File tree Expand file tree Collapse file tree 4 files changed +11
-7
lines changed Expand file tree Collapse file tree 4 files changed +11
-7
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ Sometimes you want to change or get a CSS custom property value inside you react
37
37
38
38
## 🚀 Installation
39
39
40
- ` npm i @jcofman/ react-use-css-custom-property --save ` or ` yarn add @jcofman/ react-use-css-custom-property `
40
+ ` npm i react-use-css-custom-property --save ` or ` yarn add react-use-css-custom-property `
41
41
42
42
## Usage
43
43
@@ -48,7 +48,7 @@ import 'react-app-polyfill/ie11';
48
48
import * as React from ' react' ;
49
49
import * as ReactDOM from ' react-dom' ;
50
50
import ' ./index.css' ;
51
- import useCSSCustomProperty from ' @jcofman/ react-use-css-custom-property' ;
51
+ import useCSSCustomProperty from ' react-use-css-custom-property' ;
52
52
53
53
const App = () => {
54
54
const [firstColor , setFirstColor ] = useCSSCustomProperty (' --first-color' );
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" UTF-8" ?>
2
- <coverage generated =" 1585495549724 " clover =" 3.2.0" >
3
- <project timestamp =" 1585495549724 " name =" All files" >
2
+ <coverage generated =" 1585497629243 " clover =" 3.2.0" >
3
+ <project timestamp =" 1585497629243 " name =" All files" >
4
4
<metrics statements =" 0" coveredstatements =" 0" conditionals =" 0" coveredconditionals =" 0" methods =" 0" coveredmethods =" 0" elements =" 0" coveredelements =" 0" complexity =" 0" loc =" 0" ncloc =" 0" packages =" 0" files =" 0" classes =" 0" />
5
5
</project >
6
6
</coverage >
Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ <h1>All files</h1>
79
79
< div class ='footer quiet pad2 space-top1 center small '>
80
80
Code coverage generated by
81
81
< a href ="https://istanbul.js.org/ " target ="_blank "> istanbul</ a >
82
- at Sun Mar 29 2020 17:25:49 GMT+0200 (GMT+02:00)
82
+ at Sun Mar 29 2020 18:00:29 GMT+0200 (GMT+02:00)
83
83
</ div >
84
84
</ div >
85
85
< script src ="prettify.js "> </ script >
Original file line number Diff line number Diff line change 28
28
"singleQuote" : true ,
29
29
"trailingComma" : " es5"
30
30
},
31
- "name" : " @jcofman/react-use-css-custom-property" ,
32
- "author" : " jcofman" ,
31
+ "author" : {
32
+ "name" : " jcofman" ,
33
+ "email" : " cofman.jacob@gmail.com" ,
34
+ "url" : " https://jcofman.com"
35
+ },
36
+ "name" : " react-use-css-custom-property" ,
33
37
"module" : " dist/react-use-computed-style.esm.js" ,
34
38
"devDependencies" : {
35
39
"@types/jest" : " ^25.1.4" ,
You can’t perform that action at this time.
0 commit comments