You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
import { statuses } from "@/utils";
|
|
import React from "react";
|
|
|
|
export default function DocStatusItem({ status }) {
|
|
const stat = statuses.find(i => i.key == status)
|
|
return (
|
|
<p style={{color: stat.color}}>{stat.value}</p>
|
|
)
|
|
} |