authscape 1.0.398 → 1.0.400
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/index.js +7 -2
- package/package.json +1 -1
- package/src/components/kanban/Remove.js +5 -1
package/index.js
CHANGED
|
@@ -3337,13 +3337,18 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "d
|
|
|
3337
3337
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
3338
3338
|
// import {Action} from './Action';
|
|
3339
3339
|
|
|
3340
|
+
var icon = function icon() {
|
|
3341
|
+
return /*#__PURE__*/_react["default"].createElement(_DeleteRounded["default"], null);
|
|
3342
|
+
};
|
|
3340
3343
|
function Remove(props) {
|
|
3341
|
-
return /*#__PURE__*/_react["default"].createElement(Action, _extends({
|
|
3344
|
+
return /*#__PURE__*/_react["default"].createElement(Action, _extends({
|
|
3345
|
+
icon: icon
|
|
3346
|
+
}, props, {
|
|
3342
3347
|
active: {
|
|
3343
3348
|
fill: 'rgba(255, 70, 70, 0.95)',
|
|
3344
3349
|
background: 'rgba(255, 70, 70, 0.1)'
|
|
3345
3350
|
}
|
|
3346
|
-
})
|
|
3351
|
+
}));
|
|
3347
3352
|
}
|
|
3348
3353
|
"use strict";
|
|
3349
3354
|
|
package/package.json
CHANGED
|
@@ -2,16 +2,20 @@ import React from 'react';
|
|
|
2
2
|
import DeleteRoundedIcon from '@mui/icons-material/DeleteRounded';
|
|
3
3
|
// import {Action} from './Action';
|
|
4
4
|
|
|
5
|
+
const icon = () => {
|
|
6
|
+
return <DeleteRoundedIcon/>
|
|
7
|
+
}
|
|
8
|
+
|
|
5
9
|
export function Remove(props) {
|
|
6
10
|
return (
|
|
7
11
|
<Action
|
|
12
|
+
icon={icon}
|
|
8
13
|
{...props}
|
|
9
14
|
active={{
|
|
10
15
|
fill: 'rgba(255, 70, 70, 0.95)',
|
|
11
16
|
background: 'rgba(255, 70, 70, 0.1)',
|
|
12
17
|
}}
|
|
13
18
|
>
|
|
14
|
-
<DeleteRoundedIcon />
|
|
15
19
|
</Action>
|
|
16
20
|
);
|
|
17
21
|
}
|