docs: added orders overview user guide (#2076)

This commit is contained in:
Shahed Nasser
2022-08-22 18:40:33 +03:00
committed by GitHub
parent 08d2942ddf
commit 7b6148c1dd
4 changed files with 136 additions and 5 deletions
+13 -1
View File
@@ -493,7 +493,19 @@ module.exports = {
type: "doc",
id: "user-guide/index",
label: "Introduction"
}
},
{
type: "category",
collapsed: false,
label: "Orders",
items: [
{
type: "doc",
id: "user-guide/orders/index",
label: "Introduction"
}
]
},
],
servicesSidebar: [
{
+2 -2
View File
@@ -1,11 +1,11 @@
import React from 'react';
import {useColorMode} from '@docusaurus/theme-common';
export default function UiIcon ({ lightIcon, darkIcon = '' }) {
export default function UiIcon ({ lightIcon, darkIcon = '', alt = '' }) {
const {colorMode} = useColorMode();
const icon = colorMode === 'dark' && darkIcon ? darkIcon : lightIcon;
return (
<img src={icon} className="ui-icon" />
<img src={icon} className="ui-icon" alt={alt} />
)
}