/*! For license information please see a35e50ecd5be1a1566408ae68d2f572d.js.LICENSE.txt */
"use strict";(wx["webpackJsonp"]=wx["webpackJsonp"]||[]).push([["sub-common/a35e50ecd5be1a1566408ae68d2f572d"],{"./src/components/steps/index.tsx":function(s,e,t){var n=t("./node_modules/@tarojs/plugin-platform-weapp/dist/components-react.js");var o=t("./node_modules/react/cjs/react.production.min.js");var a=t("./node_modules/classnames/index.js");var r=t.n(a);var c=t("./node_modules/react/cjs/react-jsx-runtime.production.min.js");var i=function Steps(s){var e=s.current,t=e===void 0?0:e,a=s.direction,i=a===void 0?"horizontal":a,l=s.children,u=s.customClassName,d=s.customStyle;return(0,c.jsx)(n.View,{className:r()("steps","steps-".concat(i),u),style:d,children:o.Children.map(l,(function(s,e){console.log("child",s);if(!o.isValidElement(s)){return s}var n=s.props;var a=n.status||"wait";if(e<t){a=n.status||"finish"}else if(e===t){a=n.status||"process"}console.log("status==>",a);return o.cloneElement(s,{status:a})}))})};e["default"]=i}}]);