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

    Props for the FileCommentList component.

    interface FileCommentListProps {
        colors?: Partial<FileCommentsPanelColors>;
        comments: FileComment[];
        labels?: Partial<FileCommentsPanelLabels>;
        localUserId: string;
        onDeleteComment?: (commentId: string) => void;
        onEditComment?: (commentId: string, content: string) => void;
        onError?: (error: Error) => void;
        renderProps?: FileCommentsPanelRenderProps;
        showAvatars?: boolean;
        showTimestamps?: boolean;
        styles?: Partial<FileCommentsPanelStyles>;
        sx?: SxProps<Theme>;
    }
    Index

    Properties

    colors?: Partial<FileCommentsPanelColors>

    Color overrides

    comments: FileComment[]

    Array of comments to display

    labels?: Partial<FileCommentsPanelLabels>

    Label overrides

    localUserId: string

    Current user's ID for ownership detection

    onDeleteComment?: (commentId: string) => void

    Called when a comment is deleted

    onEditComment?: (commentId: string, content: string) => void

    Called when a comment is edited

    onError?: (error: Error) => void

    Error callback

    Render prop overrides

    showAvatars?: boolean

    Whether to show author avatars

    showTimestamps?: boolean

    Whether to show timestamps on each comment

    styles?: Partial<FileCommentsPanelStyles>

    Style overrides

    sx?: SxProps<Theme>

    MUI sx prop