<script>
    import { getStatus } from "./StatusText";
    export let status;

    let statusObj = getStatus(status);
</script>

<span class="badge text-bg-{statusObj.bg}" style="max-width:84px"
    >{statusObj.text}</span
>
