import { useTranslation } from "react-i18next"; import Button from "@/lib/components/ui/Button"; import { useKnowledgeToFeedContext } from "@/lib/context/KnowledgeToFeedProvider/hooks/useKnowledgeToFeedContext"; import { FeedItems } from "./components"; import { Crawler } from "./components/Crawler"; import { FileUploader } from "./components/FileUploader"; export const KnowledgeToFeedInput = ({ feedBrain, }: { feedBrain: () => void; }): JSX.Element => { const { t } = useTranslation(["translation", "upload"]); const { knowledgeToFeed } = useKnowledgeToFeedContext(); return (