import React from "react";
import classNames from "classnames";
import { useConfig } from "../_util/config-context";

export function RegionFlag() {
  const { classPrefix } = useConfig();
  const className = classNames({
    [`${classPrefix}-flag`]: true,
    [`${classPrefix}-flag-Globe--gray`]: true,
  });
  return <span className={className} />;
}

RegionFlag.displayName = "RegionFlag";
