componenteshospitais 3.3.2 → 3.3.3
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/dist/cjs/index.js
CHANGED
|
@@ -16436,7 +16436,10 @@ styleInject(css_248z);
|
|
|
16436
16436
|
|
|
16437
16437
|
var FluxoProcesso = function (_a) {
|
|
16438
16438
|
var _b = _a.activeDot, activeDot = _b === void 0 ? 1 : _b, _c = _a.inProgress, inProgress = _c === void 0 ? 2 : _c, textos = _a.textos, tableContent = _a.tableContent, onDotClick = _a.onDotClick;
|
|
16439
|
+
var _d = React.useState(false); _d[0]; var setTable = _d[1];
|
|
16440
|
+
var _e = React.useState(0); _e[0]; _e[1];
|
|
16439
16441
|
React.useEffect(function () {
|
|
16442
|
+
setTable(false);
|
|
16440
16443
|
}, [activeDot]);
|
|
16441
16444
|
return (React.createElement("div", null,
|
|
16442
16445
|
React.createElement("div", { className: styles.wrapper }, textos.map(function (texto, index) { return (React.createElement("div", { className: styles.stepWrapper, key: index },
|