import React from 'react' function Barwrapper({ title, duration, children }) { let _duration = Math.floor(parseInt(duration)); _duration = _duration < 1 ? ' < 1' : _duration; return (