Skip to content

Open-source status page, incident response and uptime monitoring

1.6 KB
Raw Blame
import { Suspense } from "react";

import { LatencyChartTable } from "../latency-chart-table";
import { Actions } from "./actions";
import { Aside } from "./aside";
import { ButtonLink } from "./button-link";
import { Card, CardGrid, LinkCard } from "./card";
import { Code } from "./code";
import { CustomImage } from "./custom-image";
import { CustomLink } from "./custom-link";
import { Demo } from "./demo";
import { Details } from "./details";
import { Eyebrow } from "./eyebrow";
import { Grid } from "./grid";
import { createHeading } from "./heading";
import { LogoCloud } from "./logo-cloud";
import { Pre } from "./pre";
import { PricingTabs } from "./pricing-tabs";
import { Quote } from "./quote";
import { SrOnly } from "./sr-only";
import { MDXStatusPageExample } from "./status-page-example";
import { Subtle } from "./subtle";
import { Table } from "./table";
import { Timeline } from "./timeline";
import { ShowcaseYouTube } from "./youtube";

export { slugify } from "./heading";

export const components = {
  h1: createHeading(1),
  h2: createHeading(2),
  h3: createHeading(3),
  h4: createHeading(4),
  h5: createHeading(5),
  h6: createHeading(6),
  Image: CustomImage,
  a: CustomLink,
  ButtonLink: ButtonLink,
  code: Code,
  pre: Pre,
  table: Table,
  Grid,
  LogoCloud,
  Actions,
  SrOnly,
  Quote,
  Demo,
  Aside,
  Card,
  CardGrid,
  LinkCard,
  ShowcaseYouTube,
  Details, // Capital D for JSX usage with props
  details: Details, // lowercase for HTML tag replacement
  SimpleChart: LatencyChartTable,
  StatusPageExample: MDXStatusPageExample,
  PricingTabs,
  Subtle,
  Eyebrow,
  Timeline,
  Suspense: Suspense,
};