import React from 'react';
import "../Progress.scss";
import ThemeContext from '../../context/themeContext';
const DefaultProgress = props => {
let { prcnt } = props;
const { strokeColor } = props;
const strokeStyle = props.square ? {} : { borderRadius: "5px" }
return (
)
}
const DefaultProgressWrapper = (props) => {
return (
{ context => {
// Check if there is other color that override the default one
let strokeColor = "#006eff";
if(props.strokeColor){
strokeColor = props.strokeColor;
}
else if(context && context.primaryColor){
strokeColor = context.primaryColor;
}
return (
)
}}
)
}
export default DefaultProgressWrapper;