visuddhinanda 2 лет назад
Родитель
Сommit
afb694ff6e
1 измененных файлов с 12 добавлено и 0 удалено
  1. 12 0
      dashboard/src/components/article/RightPanel.tsx

+ 12 - 0
dashboard/src/components/article/RightPanel.tsx

@@ -15,6 +15,7 @@ import { show } from "../../reducers/discussion";
 import { useIntl } from "react-intl";
 import SuggestionBox from "../template/SentEdit/SuggestionBox";
 import ChannelMy from "../channel/ChannelMy";
+import GrammarBook from "../term/GrammarBook";
 
 export type TPanelName =
   | "dict"
@@ -205,6 +206,17 @@ const RightPanelWidget = ({
                 </div>
               ),
             },
+            {
+              label: intl.formatMessage({
+                id: "columns.library.palihandbook.title",
+              }),
+              key: "grammar",
+              children: (
+                <div style={tabInnerStyle}>
+                  <GrammarBook />
+                </div>
+              ),
+            },
           ]}
         />
       </div>