Skip to content

PostgreSQL backup tool with Point-In-Time-Recovery and restore verification

475 B
Raw Blame
import type { ReactNode } from 'react';

interface Props {
  // Optional because Trans injects the children when the component is passed in `components`.
  children?: ReactNode;
}

// A monospace font alone barely sets code apart from prose, so inline code also gets a background.
export const InlineCodeComponent = ({ children }: Props) => (
  <code className="rounded bg-gray-100 box-decoration-clone px-1 py-0.5 text-[0.9em] dark:bg-gray-700">
    {children}
  </code>
);