Skip to content

Commit

Permalink
init eveent type atom
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryukemeister committed Jan 3, 2024
1 parent 022e423 commit 37fda10
Show file tree
Hide file tree
Showing 6 changed files with 25 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
type EventTypeSettingsProp = {
id?: string;
};

export function EventTypeSettings({ id }: EventTypeSettingsProp) {
return <>This returns the event type settings atom</>;
}
3 changes: 3 additions & 0 deletions packages/platform/atoms/event-type/export.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
export { EventType } from "./index";
export { EventTypeSettings } from "./event-type-settings/index";
export * from "../types";
7 changes: 7 additions & 0 deletions packages/platform/atoms/event-type/index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
type EventTypeProp = {
id?: string;
};

export function EventType({ id }: EventTypeProp) {
return <>This returns the event type atom</>;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
export function Availability() {
return <>This renders the availability setup tab</>;
}
3 changes: 3 additions & 0 deletions packages/platform/atoms/event-type/tabs/event-setup/index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
export function EventSetup() {
return <>This renders the event setup tab</>;
}
2 changes: 2 additions & 0 deletions packages/platform/atoms/index.ts
Original file line number Diff line number Diff line change
@@ -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";

0 comments on commit 37fda10

Please sign in to comment.