Parameter Hints

greet()
greet(name: string, locale: Locale): string
About this piece

Parameter Hints

Function call line with a caret plus a signature popover underneath. The current parameter underlines in primary.

Usage

The import and the props worth knowing about, in one place.

import { Editor17 } from "@/components/beste/piece/editor17";

<Editor17
  fn="greet"
  params={[
    {
      "name": "name",
      "type": "string",
      "active": true
    },
    {
      "name": "locale",
      "type": "Locale"
    }
  ]}
  returnType="string"
  bordered={false}
/>

More Editor pieces

View all Editor
const greet = (name: string) => `Hello, ${name}!`;
1const user = createUser(name: "Nils", role: "admin");
const msg = greet("Beste");
function greet(name: string): string

Returns a localized greeting for the given name.

Go to line142
of 386
function greet(name: string)
user.
  • idstring
  • namestring
  • emailstring
  • save(): Promise<void>