فهرست منبع

add GrammarBook

visuddhinanda 2 سال پیش
والد
کامیت
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 { useIntl } from "react-intl";
 import SuggestionBox from "../template/SentEdit/SuggestionBox";
 import SuggestionBox from "../template/SentEdit/SuggestionBox";
 import ChannelMy from "../channel/ChannelMy";
 import ChannelMy from "../channel/ChannelMy";
+import GrammarBook from "../term/GrammarBook";
 
 
 export type TPanelName =
 export type TPanelName =
   | "dict"
   | "dict"
@@ -205,6 +206,17 @@ const RightPanelWidget = ({
                 </div>
                 </div>
               ),
               ),
             },
             },
+            {
+              label: intl.formatMessage({
+                id: "columns.library.palihandbook.title",
+              }),
+              key: "grammar",
+              children: (
+                <div style={tabInnerStyle}>
+                  <GrammarBook />
+                </div>
+              ),
+            },
           ]}
           ]}
         />
         />
       </div>
       </div>