Skip to content

Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.

477 B
Raw Blame
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;
  }
}