import { instagramPresentationComponents } from './instagram/presentationComponents';
import { telegramPresentationComponents } from './telegram/presentationComponents';
import type { PresentationComponents } from './types';
import type { PresentationId } from './types';
import { whatsappPresentationComponents } from './whatsapp/presentationComponents';

export const DEFAULT_PRESENTATION_ID: PresentationId = 'telegram';

export const presentations: Record<PresentationId, PresentationComponents> = {
  telegram: telegramPresentationComponents,
  whatsapp: whatsappPresentationComponents,
  instagram: instagramPresentationComponents,
};

export function getPresentationComponents(
  id: PresentationId
): PresentationComponents {
  return presentations[id];
}
