import { For, JSXElement, Show } from "solid-js";
import { A } from "@solidjs/router";
import { Icon } from "./Icons.tsx";
interface PageContainerProps {
children?: JSXElement;
}
export function PageContainer(props: PageContainerProps): JSXElement {
return
{props.children}
;
}
export function Divider(): JSXElement {
return
;
}
interface CodeBoxProps {
code: string;
class?: string;
}
export function CodeBox(props: CodeBoxProps): JSXElement {
return (
);
}
interface PageHeaderProps {
text: string | JSXElement;
class?: string;
}
export function PageHeader(props: PageHeaderProps): JSXElement {
return (
);
}
interface PageLinkProps {
href: string;
newTab?: boolean;
class?: string;
children?: JSXElement;
}
export function PageLink(props: PageLinkProps): JSXElement {
return (
{props.children}
);
}
export function Loader(props: { class?: string; style?: string }): JSXElement {
return (
);
}
interface BreadcrumbItem {
url: string;
displayText: string;
}
interface BreadcrumbsProps {
items: BreadcrumbItem[];
}
export function Breadcrumbs(props: BreadcrumbsProps): JSXElement {
return (
{(crumb, index) => (
index() !== props.items.length - 1
? (
{crumb.displayText}
)
: (
{crumb.displayText}
)
)}
);
}
interface ManagerPageHeaderProps {
title: string;
description?: string;
action?: JSXElement;
}
export function ManagerPageHeader(props: ManagerPageHeaderProps): JSXElement {
return (
);
}