@unlimited-react-components/material-button
Advanced tools
Comparing version 1.0.9 to 1.0.10
@@ -789,18 +789,17 @@ function ___$insertStyle(css) { | ||
}; | ||
/* useEffect(() => { | ||
// ... | ||
handleInserStyle(variant, disabled, color, textColor, className, text); | ||
return () =>removeStyle(idStyles);; | ||
}); */ | ||
useEffect(function () { | ||
// ... | ||
//handleInserStyle(variant, disabled, color, textColor); | ||
return function () { return removeStyle(idStyles); }; | ||
// eslint-disable-next-line | ||
}, [idStyles]); | ||
useEffect(function () { | ||
//removeStyle(idStyles); | ||
handleInserStyle(variant, disabled, color, textColor, className, text); | ||
return function () { return removeStyle(idStyles); }; | ||
}); | ||
/* useEffect(() => { | ||
//handleInserStyle(variant, disabled, color, textColor); | ||
return () => removeStyle(idStyles); | ||
// eslint-disable-next-line | ||
}, [idStyles]); | ||
useEffect(() => { | ||
removeStyle(idStyles); | ||
handleInserStyle(variant, disabled, color, textColor, className, text); | ||
// eslint-disable-next-line | ||
}, [variant, disabled, color, textColor, className, text]); */ | ||
// eslint-disable-next-line | ||
}, [variant, disabled, color, textColor, className, text]); | ||
//references | ||
@@ -807,0 +806,0 @@ var btn_ref = useRef(null); |
@@ -799,18 +799,17 @@ 'use strict'; | ||
}; | ||
/* useEffect(() => { | ||
// ... | ||
handleInserStyle(variant, disabled, color, textColor, className, text); | ||
return () =>removeStyle(idStyles);; | ||
}); */ | ||
React.useEffect(function () { | ||
// ... | ||
//handleInserStyle(variant, disabled, color, textColor); | ||
return function () { return removeStyle(idStyles); }; | ||
// eslint-disable-next-line | ||
}, [idStyles]); | ||
React.useEffect(function () { | ||
//removeStyle(idStyles); | ||
handleInserStyle(variant, disabled, color, textColor, className, text); | ||
return function () { return removeStyle(idStyles); }; | ||
}); | ||
/* useEffect(() => { | ||
//handleInserStyle(variant, disabled, color, textColor); | ||
return () => removeStyle(idStyles); | ||
// eslint-disable-next-line | ||
}, [idStyles]); | ||
useEffect(() => { | ||
removeStyle(idStyles); | ||
handleInserStyle(variant, disabled, color, textColor, className, text); | ||
// eslint-disable-next-line | ||
}, [variant, disabled, color, textColor, className, text]); */ | ||
// eslint-disable-next-line | ||
}, [variant, disabled, color, textColor, className, text]); | ||
//references | ||
@@ -817,0 +816,0 @@ var btn_ref = React.useRef(null); |
{ | ||
"name": "@unlimited-react-components/material-button", | ||
"version": "1.0.9", | ||
"version": "1.0.10", | ||
"description": "Independant Material Button from Material Design built from 0", | ||
@@ -5,0 +5,0 @@ "main": "./build/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
180441