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) { return
{props.children}
; } export function Divider() { return
; } interface CodeBoxProps { code: string; class?: string; } export function CodeBox(props: CodeBoxProps) { return (
{props.code}
); } interface PageHeaderProps { text: string; class?: string; } export function PageHeader(props: PageHeaderProps) { return (

{props.text}


); } interface PageLinkProps { href: string; newTab?: boolean; class?: string; children?: JSXElement; } export function PageLink(props: PageLinkProps) { return ( {props.children} ); } export function Loader(props: { class?: string; style?: string }) { return (
); } interface BreadcrumbItem { url: string; displayText: string; } interface BreadcrumbsProps { items: BreadcrumbItem[]; } export function Breadcrumbs(props: BreadcrumbsProps) { 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) { return ( ); }