diff --git a/docs/platform/atoms/event-type.mdx b/docs/platform/atoms/event-type.mdx index c43e951976..7ecad17189 100644 --- a/docs/platform/atoms/event-type.mdx +++ b/docs/platform/atoms/event-type.mdx @@ -14,16 +14,16 @@ import { CreateEventType } from "@calcom/atoms"; export default function EventType() { return ( <> - { - console.log("EventType created successfully", eventType); - }} - customClassNames={{ - atomsWrapper: "border p-4 rounded-md", - buttons: { submit: "bg-red-500", cancel: "bg-gray-300" }, - }} - /> - <> + { + console.log("EventType created successfully", eventType); + }} + customClassNames={{ + atomsWrapper: "border p-4 rounded-md", + buttons: { submit: "bg-red-500", cancel: "bg-gray-300" }, + }} + /> + ) } ``` @@ -52,20 +52,20 @@ Below code snippet can be used to render the create event type atom for a team. ```js import { CreateEventType } from "@calcom/atoms"; -export default function TeamEventType(teamId: number) { +export default function TeamEventType(teamId: number) {l return ( <> - { - console.log("EventType created successfully", eventType); - }} - customClassNames={{ - atomsWrapper: "border p-4 rounded-md", - buttons: { submit: "bg-red-500", cancel: "bg-gray-300" }, - }} - /> - <> + { + console.log("EventType created successfully", eventType); + }} + customClassNames={{ + atomsWrapper: "border p-4 rounded-md", + buttons: { submit: "bg-red-500", cancel: "bg-gray-300" }, + }} + /> + ) } ``` @@ -114,19 +114,19 @@ Below code snippet can be used to render the event type settings atom. ```js import { EventTypeSettings } from "@calcom/atoms"; -export default function EventTypeSettings(eventTypeId: number) { +export function EventTypeTabs(eventTypeId: number) { return ( <> - { - console.log("EventType settings updated successfully", eventType); - }} - customClassNames={{ atomsWrapper: "!w-[70vw] !m-auto" }} - /> - <> - ) + { + console.log("EventType settings updated successfully", eventType); + }} + customClassNames={{ atomsWrapper: "!w-[70vw] !m-auto" }} + /> + + ); } ``` diff --git a/docs/platform/atoms/payment-form.mdx b/docs/platform/atoms/payment-form.mdx index 8236bd301c..c9b31d1c1e 100644 --- a/docs/platform/atoms/payment-form.mdx +++ b/docs/platform/atoms/payment-form.mdx @@ -11,9 +11,9 @@ import { PaymentForm } from "@calcom/atoms"; export default function StripePaymentForm(uid: string) { return ( -
+ <> -
+ ); } ``` @@ -60,9 +60,9 @@ import { EventTypeSettings } from "@calcom/atoms"; export default function EventType(id: number) { return ( -
- -
+ <> + + ); } ``` @@ -92,7 +92,7 @@ export default function Booker( props : BookerProps ) { } }} /> - <> + ) } ``` @@ -112,9 +112,9 @@ export default function StripePaymentForm() { const uid = pathname.split("/").pop(); return ( -
+ <> -
+ ); } ```