跳转到主要内容

Type highlighting

import { Type } from "~/components";

<Type text="Promise<T | string | ArrayBuffer>" />

MetaInfo

import { MetaInfo } from "~/components";

<MetaInfo text="(default: false) optional" />

Combined example

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.