From 37fda1082d8a574560305f94c298e6db88525e75 Mon Sep 17 00:00:00 2001 From: Ryukemeister Date: Wed, 3 Jan 2024 13:20:00 +0530 Subject: [PATCH] init eveent type atom --- .../atoms/event-type/event-type-settings/index.tsx | 7 +++++++ packages/platform/atoms/event-type/export.ts | 3 +++ packages/platform/atoms/event-type/index.tsx | 7 +++++++ .../platform/atoms/event-type/tabs/availability/index.tsx | 3 +++ .../platform/atoms/event-type/tabs/event-setup/index.tsx | 3 +++ packages/platform/atoms/index.ts | 2 ++ 6 files changed, 25 insertions(+) create mode 100644 packages/platform/atoms/event-type/event-type-settings/index.tsx create mode 100644 packages/platform/atoms/event-type/export.ts create mode 100644 packages/platform/atoms/event-type/index.tsx create mode 100644 packages/platform/atoms/event-type/tabs/availability/index.tsx create mode 100644 packages/platform/atoms/event-type/tabs/event-setup/index.tsx diff --git a/packages/platform/atoms/event-type/event-type-settings/index.tsx b/packages/platform/atoms/event-type/event-type-settings/index.tsx new file mode 100644 index 00000000000000..0bcab42c159c8a --- /dev/null +++ b/packages/platform/atoms/event-type/event-type-settings/index.tsx @@ -0,0 +1,7 @@ +type EventTypeSettingsProp = { + id?: string; +}; + +export function EventTypeSettings({ id }: EventTypeSettingsProp) { + return <>This returns the event type settings atom; +} diff --git a/packages/platform/atoms/event-type/export.ts b/packages/platform/atoms/event-type/export.ts new file mode 100644 index 00000000000000..ca42a936b0e381 --- /dev/null +++ b/packages/platform/atoms/event-type/export.ts @@ -0,0 +1,3 @@ +export { EventType } from "./index"; +export { EventTypeSettings } from "./event-type-settings/index"; +export * from "../types"; diff --git a/packages/platform/atoms/event-type/index.tsx b/packages/platform/atoms/event-type/index.tsx new file mode 100644 index 00000000000000..c6b38ca5e5273a --- /dev/null +++ b/packages/platform/atoms/event-type/index.tsx @@ -0,0 +1,7 @@ +type EventTypeProp = { + id?: string; +}; + +export function EventType({ id }: EventTypeProp) { + return <>This returns the event type atom; +} diff --git a/packages/platform/atoms/event-type/tabs/availability/index.tsx b/packages/platform/atoms/event-type/tabs/availability/index.tsx new file mode 100644 index 00000000000000..8a6b20855b8b95 --- /dev/null +++ b/packages/platform/atoms/event-type/tabs/availability/index.tsx @@ -0,0 +1,3 @@ +export function Availability() { + return <>This renders the availability setup tab; +} diff --git a/packages/platform/atoms/event-type/tabs/event-setup/index.tsx b/packages/platform/atoms/event-type/tabs/event-setup/index.tsx new file mode 100644 index 00000000000000..fdc5d92362fa7b --- /dev/null +++ b/packages/platform/atoms/event-type/tabs/event-setup/index.tsx @@ -0,0 +1,3 @@ +export function EventSetup() { + return <>This renders the event setup tab; +} diff --git a/packages/platform/atoms/index.ts b/packages/platform/atoms/index.ts index 33b056cd3ca3c1..9dfce92344ba56 100644 --- a/packages/platform/atoms/index.ts +++ b/packages/platform/atoms/index.ts @@ -1,3 +1,5 @@ export { Booker } from "./booker/Booker"; export { CalProvider } from "./cal-provider/index"; export { ConnectToCal } from "./connect-to-cal-button/index"; +export { EventType } from "./event-type/index"; +export { EventTypeSettings } from "./event-type/event-type-settings/index";