Skip to content

The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:

568 B
Raw Blame
import type { ColorName } from "metabase/ui/colors/types";
import type { IconName } from "metabase-types/api";

export const MODERATION_STATUS = {
  verified: "verified",
};

export const MODERATION_STATUS_ICONS: Map<
  string | null,
  { name: IconName; color: ColorName }
> = new Map();

MODERATION_STATUS_ICONS.set("verified", {
  name: "verified",
  color: "core-brand",
});

MODERATION_STATUS_ICONS.set("verified_filled", {
  name: "verified_filled",
  color: "core-brand",
});

MODERATION_STATUS_ICONS.set(null, {
  name: "close",
  color: "text-secondary",
});