PluginProbe
BetterDocs – AI Documentation, Knowledge Base, MCP Server, Docs, Wikis, FAQ & Chatbot / 4.9.5
BetterDocs – AI Documentation, Knowledge Base, MCP Server, Docs, Wikis, FAQ & Chatbot v4.9.5
4.9.5 4.9.4 4.9.3 4.9.2 4.9.1 4.9.0 4.8.2 4.8.1 4.8.0 4.7.0 4.6.2 4.6.1 4.6.0 4.5.6 4.5.5 4.5.4 4.5.3 4.5.2 4.5.1 4.5.0 4.4.1 4.4.0 3.3.4 3.4.0 3.4.1 All 203 releases
betterdocs / react-src / admin / quick-setup / fields / Field.js

Field.js in BetterDocs – AI Documentation, Knowledge Base, MCP Server, Docs, Wikis, FAQ & Chatbot 4.9.5, at react-src/admin/quick-setup/fields/Field.js

38 lines 1.2 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 import React from "react";
2 import Collapse from "./Collapse";
3 import FinishPanel from "./FinishPanel";
4 import Header from "./Header";
5 import Image from "./Image";
6 import Migration from "./Migration";
7 import PermalinkStracture from "./PermalinkStracture";
8 import VideoPlayer from "./VideoPlayer";
9 import SampleDocsGenerator from "./SampleDocsGenerator";
10 import LayoutCustomizer from "./LayoutCustomizer";
11
12 const Field = (r, type, props) => {
13 switch (type) {
14 case "header":
15 return <Header {...props} />;
16 case "migration":
17 return <Migration {...props} />;
18 case "image":
19 return <Image {...props} />;
20 case "finish_panel":
21 return <FinishPanel {...props} />;
22 case "collapse":
23 return <Collapse {...props} />;
24 case "video-player":
25 return <VideoPlayer {...props} />;
26 case "permalink_structure":
27 return <PermalinkStracture {...props} />;
28 case "sample_docs_generator":
29 return <SampleDocsGenerator {...props} />;
30 case "layout_customizer":
31 return <LayoutCustomizer {...props} />;
32 default:
33 return <></>;
34 }
35 };
36
37 export default Field;
38