import { NativeModules } from "react-native";

const { CalendarModule } = NativeModules;

interface CalendarModuleInterface {
  createCalendarEvent: (name: string) => Promise<string>;
}

export const Calendar = CalendarModule as CalendarModuleInterface;
