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

    Interface WhiteboardAuditPanelProps

    interface WhiteboardAuditPanelProps {
        events: WhiteboardAuditEntry[];
        getUserLabel?: (userId: string) => string | undefined;
        labels?: Partial<WhiteboardAuditPanelLabels>;
        newestFirst?: boolean;
        onSelectObject?: (objectId: string) => void;
        sx?: SxProps<Theme>;
    }
    Index

    Properties

    The current audit log. Pass events from useWhiteboardSync.

    getUserLabel?: (userId: string) => string | undefined

    Resolve a userId to a display label. Typically pulls from a lesson roster / participant list. Returning undefined falls back to the raw userId.

    labels?: Partial<WhiteboardAuditPanelLabels>

    Override default labels.

    newestFirst?: boolean

    Render newest first.

    true (matches the typical "what
    just happened" mental model).
    onSelectObject?: (objectId: string) => void

    Called when the user clicks an entry that has an objectId. Consumers typically locate the matching object on the canvas and call setActiveObject. Entries without an objectId (clear / background) are rendered as non-interactive.

    sx?: SxProps<Theme>

    MUI sx override for the outer container.