import React from 'react'

const ProgressBar = ({percentage, color, backgroundColor}) => {
  return (
    <div class="w-full">
        <div class="shadow w-full bg-grey-light">
            <div class="bg-blue text-xs leading-none py-1 text-center text-white" style={{width: percentage, color: color, backgroundColor: backgroundColor}}>{percentage}</div>
        </div>
  </div>
  )
}

export default ProgressBar