feat: Add component GitHub #1739 (#1871)

### What problem does this PR solve?

feat: Add component GitHub #1739

### Type of change

- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
balibabu
2024-08-08 16:03:21 +08:00
committed by GitHub
parent 439da32234
commit 6ccfbca204
8 changed files with 52 additions and 0 deletions

View File

@ -12,6 +12,7 @@ import CategorizeForm from '../categorize-form';
import { Operator } from '../constant';
import DuckDuckGoForm from '../duckduckgo-form';
import GenerateForm from '../generate-form';
import GithubForm from '../github-form';
import GoogleForm from '../google-form';
import GoogleScholarForm from '../google-scholar-form';
import { useHandleFormValuesChange, useHandleNodeNameChange } from '../hooks';
@ -50,6 +51,7 @@ const FormMap = {
[Operator.Bing]: BingForm,
[Operator.GoogleScholar]: GoogleScholarForm,
[Operator.DeepL]: DeepLForm,
[Operator.GitHub]: GithubForm,
};
const EmptyContent = () => <div>empty</div>;