

import type { TTimelineType } from "@buzzwaretech/types";
import { createContext, useContext } from "react";

export const TimeLineTypeContext = createContext<TTimelineType | undefined>(
  undefined,
);

export const useTimeLineType = () => {
  const timelineType = useContext(TimeLineTypeContext);
  return timelineType;
};
