Skip to content
Cloudflare Docs

Type highlighting

The Type component is used 1265 times on 65 pages.

See all examples of pages that use Type

Used 1265 times.

Pages

Partials

Type

Promise<T | string | ArrayBuffer>
import { Type } from "~/components";
<Type text="Promise<T | string | ArrayBuffer>" />

MetaInfo

(default: false) optional
import { MetaInfo } from "~/components";
<MetaInfo text="(default: false) optional" />

Combined example

  • name string
    • The name of your service.
  • local boolean (default: true) optional
    • If the service should run locally or not.
import { Type, MetaInfo } from "~/components";
- `name` <Type text="string" />
- The name of your service.
- `local` <Type text="boolean" /> <MetaInfo text="(default: true) optional" />
- If the service should run locally or not.