cal.pub0.org/packages/atoms/booker/Booker.tsx

14 lines
527 B
TypeScript

import type { BookerProps } from "@calcom/features/bookings/Booker";
import { Booker as BookerComponent } from "@calcom/features/bookings/Booker";
import type { AtomsGlobalConfigProps } from "../types";
type BookerAtomProps = BookerProps & AtomsGlobalConfigProps;
/**
* @TODO Before we can turn this into a reusable atom
* * Use the webAppUrl coming from AtomsGlobalConfigProps to make url dynamic
* * Find a solution for translations
*/
export const Booker = (props: BookerAtomProps) => <BookerComponent {...props} />;