Skip to content
Cloudflare Docs

Type highlighting

The Type component is used 1183 times on 63 pages.

See all examples of pages that use Type

Used 1183 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.