Hiyve Components - v1.0.0
    Preparing search index...

    Interface RoomSummaryViewerProps

    Props for the RoomSummaryViewer component.

    interface RoomSummaryViewerProps {
        colors?: Partial<RoomSummaryViewerColors>;
        file?: FileEntry | null;
        getFilesByType?: (type: string) => Promise<FileEntry[]>;
        labels?: Partial<RoomSummaryViewerLabels>;
        onClose?: () => void;
        onEnrichSummary?: (fileId: string) => Promise<RoomSummaryData | null>;
        onFileOpen?: (file: RoomSummaryFile) => void;
        summaryData:
            | RoomSummaryData
            | { roomSummary: RoomSummaryData
            | { roomSummary: RoomSummaryData } };
        sx?: SxProps<Theme>;
    }
    Index

    Properties

    colors?: Partial<RoomSummaryViewerColors>

    Custom colors

    file?: FileEntry | null

    File entry for the summary (used for enrichment)

    getFilesByType?: (type: string) => Promise<FileEntry[]>

    Function to get files by type from cache

    labels?: Partial<RoomSummaryViewerLabels>

    Custom labels

    onClose?: () => void

    Close handler

    onEnrichSummary?: (fileId: string) => Promise<RoomSummaryData | null>

    Function to enrich summary with additional data

    onFileOpen?: (file: RoomSummaryFile) => void

    Callback to open a file from the summary

    summaryData:
        | RoomSummaryData
        | { roomSummary: RoomSummaryData
        | { roomSummary: RoomSummaryData } }

    Room summary data to display

    sx?: SxProps<Theme>

    MUI sx styling prop