react-asc 18.8.6 → 18.8.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/SpeedDial/SpeedDialAction.d.ts +2 -0
- package/index.es.js +2 -2
- package/index.es.js.map +1 -1
- package/index.js +2 -2
- package/index.js.map +1 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -1987,14 +1987,14 @@ var styles$a = {"speedDialAction":"SpeedDialAction-module_speedDialAction__qmExs
|
|
|
1987
1987
|
styleInject(css_248z$a);
|
|
1988
1988
|
|
|
1989
1989
|
const SpeedDialAction = (props) => {
|
|
1990
|
-
const { icon, onClick, className } = props;
|
|
1990
|
+
const { icon, color = exports.COLOR.light, onClick, className } = props;
|
|
1991
1991
|
const getCssClasses = () => {
|
|
1992
1992
|
const cssClasses = [];
|
|
1993
1993
|
cssClasses.push(styles$a.speedDialAction);
|
|
1994
1994
|
className && cssClasses.push(className);
|
|
1995
1995
|
return cssClasses.filter(css => css).join(' ');
|
|
1996
1996
|
};
|
|
1997
|
-
return (React__default["default"].createElement(IconButton, { className: getCssClasses(), icon: icon, color: exports.
|
|
1997
|
+
return (React__default["default"].createElement(IconButton, { className: getCssClasses(), icon: icon, color: color, variant: exports.VARIANT.contained, shadow: true, onClick: onClick }));
|
|
1998
1998
|
};
|
|
1999
1999
|
|
|
2000
2000
|
const SpeedDialIcon = (props) => {
|