import { Context, createContext } from "react";
import { STATUS_VARIANT } from "../types";

type StatusContextType = STATUS_VARIANT | undefined;

const defaultContext: StatusContextType = undefined;

export const StatusContext: Context<StatusContextType> = createContext<StatusContextType>(
  defaultContext,
);
