Skip to content

WranglerNamespace

The WranglerNamespace component documents the available commands for a given namespace.

This is generated using the Wrangler version in the cloudflare-docs repository.

Import

import { WranglerNamespace } from "~/components";

Usage

import { WranglerNamespace } from "~/components";
<WranglerNamespace namespace="d1" />

Arguments

  • namespace string required
    • The namespace to pull the related commands from (d1, hyperdrive).
  • headingLevel boolean (default: 2) optional
    • The heading level that the commands should be added at on the page, i.e 2 for h2.