Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 | 12x | import {
ArrowsLeftRightIcon,
ArrowUpIcon,
CodeIcon,
GearSixIcon,
QuestionIcon,
StorefrontIcon,
CreditCardIcon,
} from "@phosphor-icons/react";
import { ENTERPRISE_PATHS } from "@routes/paths";
const getProviderMenu = () => ({
menu: [
{
label: "Manage Money",
value: `/provider/manage-money`,
Icon: ArrowsLeftRightIcon,
},
{
label: "Transactions",
value: `/provider/transactions`,
Icon: CreditCardIcon,
},
{
label: "Developer",
value: `/provider/${ENTERPRISE_PATHS.DEVELOPER_API}`,
Icon: CodeIcon,
},
{
value: "",
type: "divider",
},
{
label: "Merchants",
value: "/provider/merchants",
Icon: StorefrontIcon,
},
],
footer: [
{
label: "Support",
value: "support",
customOnClick: () =>
window.open(process.env.VITE_PROVIDER_SUPPORT, "_blank"),
Icon: QuestionIcon,
},
{
label: "Settings",
value: "/provider/settings",
Icon: GearSixIcon,
},
],
});
export default getProviderMenu;
|