Files
probo/packages/helpers/src/assets.ts
Bryan Frimin f808a90bba Remove criticity on assets
Signed-off-by: Bryan Frimin <bryan@getprobo.com>
2025-10-13 22:06:49 +02:00

11 lines
203 B
TypeScript

export const getAssetTypeVariant = (type: string) => {
switch (type) {
case "PHYSICAL":
return "neutral";
case "VIRTUAL":
return "info";
default:
return "neutral";
}
};