import React from 'react';
import { Provider } from 'react-redux';
import Rom from "./rom";
import Performance from "./performance";
import Rehab from "./rehab";
import { store } from "./store"; // import { store as storeEvaluation } from './evaluation/store';

import { ConfigProvider } from 'antd';
import "./style.less";

var PoseEstimator = function PoseEstimator(props) {
  return /*#__PURE__*/React.createElement(ConfigProvider, {
    prefixCls: "antcoach"
  }, /*#__PURE__*/React.createElement(Provider, {
    store: store
  }, /*#__PURE__*/React.createElement("div", {
    className: props === null || props === void 0 ? void 0 : props.tool
  }, (props === null || props === void 0 ? void 0 : props.tool) === 'rom' && /*#__PURE__*/React.createElement(Rom, props), (props === null || props === void 0 ? void 0 : props.tool) === 'performance' && /*#__PURE__*/React.createElement(Performance, props), (props === null || props === void 0 ? void 0 : props.tool) === 'rehab' && /*#__PURE__*/React.createElement(Rehab, props))));
};

export default PoseEstimator;