Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.
TypeScript i18nextnext-authnextjspostgresqlprismareact-emailt3-stacktailwindcsstrpcturborepotypescriptzod
import GoogleCalendarIcon from "@/features/calendars/assets/google-calendar.svg";
import OutlookIcon from "@/features/calendars/assets/outlook.svg";
export function CalendarProviderIcon({
provider,
size,
}: {
provider: string;
size: number;
}) {
switch (provider) {
case "google":
return <GoogleCalendarIcon width={size} height={size} />;
case "microsoft":
return <OutlookIcon width={size} height={size} />;
default:
return null;
}
}