import * as Bluelib from "@steffo/bluelib-react"
import TeX from "@matejmazur/react-katex"
import stripIndent from "strip-indent"
import 'katex/dist/katex.min.css';
import {default as NextLink} from "next/link"
import { AnchorProps } from "@steffo/bluelib-react/dist/components/common/Anchor";
export const Split = ({title = undefined, children}: any) => {
return <>
{title ?
{title}
: null}
{children}
>
}
export const Box = ({title = undefined, children, color = undefined}: any) => {
return (
{title ?
{title}
: null}
{children}
)
}
export const Plus = (props: any) => {
return (
)
}
export const Minus = (props: any) => {
return (
)
}
export const Color = ({builtin, ...props}: any) => {
return (
)
}
export const LatexMath = ({children, ...props}: any) => {
return (
)
}
export const ILatex = (props: any) => {
return (
)
}
export const BLatex = (props: any) => {
return (
)
}
export const PLatex = (props: any) => {
return (
)
}
export const P = (props: any) => {
return (
)
}
export const Todo = (props: any) => {
return (
)
}
export const Help = ({text, ...props}: any) => {
return (
)
}
export const TablePanel = ({children, ...props}: any) => {
return (
)
}
export const Code = ({children, ...props}: any) => {
return (
{stripIndent(children)}
)
}
export const Image = (props: any) => {
return (
)
}
export const Aside = (props: any) => {
return (
)
}
export const Example = (props: any) => {
return (
)
}
export const Section = Split
export const Panel = Box
export const Latex = LatexMath
export const B = Bluelib.BringAttention
export const I = Bluelib.Idiomatic
export const LI = Bluelib.ListUnordered.Item
export const Anchor = (props: AnchorProps) => {
if(!props.href) {
return
}
return (
)
}
export const Link = Anchor
export const BaseLink = Anchor
export const r = String.raw