import React from "react";
import { action } from "@storybook/addon-actions";
import { Appbar } from "../Appbar";
import { AVATAR_TYPE } from "../../Avatar";
const user = {
email: "tom@conveyorhq.com",
name: "Tom",
};
const userMenu = [
{
name: "Your Profile",
url: "/",
},
{
name: "Your Training Assignments",
url: "/",
},
{
name: "Your Analytics Preferences",
url: "/",
},
{
name: "Team",
url: "/",
},
];
const organizations = [
{
name: "Conveyor",
provider: "conveyorhq.com",
status: "claimed",
},
{
name: "Aptible",
provider: "aptible.com",
status: "claimed",
},
];
export const AppbarNav = () => (
{["Dashboard", "Assets", "ISMS", "Tickets"].map((item) => (
{item}
))}
);
export const AppbarUserWithDropdown = () => {
return (
}
>
{userMenu.map((item) => (
{item.name}
))}
Log out
);
};
export const AppbarUser = () => (
}
/>
);
export const AppbarOrganization = ({ status }: any) => (
);
export const AppbarOrganizationSwitcher = ({ status }: any) => (
{
console.log("Organization switcher clicked");
}}
/>
);