Skip to content

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

213 B
Raw Blame
import type { ModalState } from "metabase/redux/store/modal";

export const createMockModalState = (
  opts?: Partial<ModalState>,
): ModalState => {
  return {
    id: null,
    props: null,
    ...opts,
  };
};