Feat: Add background color to GraphRag configuration #4980 (#4981)

### What problem does this PR solve?

Feat: Add background color to GraphRag configuration #4980

### Type of change


- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
balibabu
2025-02-14 18:57:09 +08:00
committed by GitHub
parent b4ad565df6
commit f9fe6ac642
3 changed files with 27 additions and 5 deletions

View File

@ -0,0 +1,12 @@
import { useCallback } from 'react';
export function useOpenDocument() {
const openDocument = useCallback(() => {
window.open(
'https://ragflow.io/docs/dev/category/agent-components',
'_blank',
);
}, []);
return openDocument;
}