'use client'; import { useOrg } from '@components/Contexts/OrgContext'; import { Backpack, Book, ChevronRight, School, User, Users } from 'lucide-react' import Link from 'next/link' import React from 'react' type BreadCrumbsProps = { type: 'courses' | 'user' | 'users' | 'org' | 'orgusers' | 'assignments' last_breadcrumb?: string } function BreadCrumbs(props: BreadCrumbsProps) { const org = useOrg() as any return (
{props.type == 'courses' ? (
{' '} Courses
) : ( '' )} {props.type == 'assignments' ? (
{' '} Assignments
) : ( '' )} {props.type == 'user' ? (
{' '} Account Settings
) : ( '' )} {props.type == 'orgusers' ? (
{' '} Organization users
) : ( '' )} {props.type == 'org' ? (
{' '} Organization Settings
) : ( '' )}
{props.last_breadcrumb ? : ''}
{' '} {props.last_breadcrumb}
) } export default BreadCrumbs