Hover Popover

const msg = greet("Beste");
function greet(name: string): string

Returns a localized greeting for the given name.

About this piece

Hover Popover

Wavy-underlined symbol above a type-hover card showing the signature and a one-line description.

Usage

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

import { Editor7 } from "@/components/beste/piece/editor7";

<Editor7
  symbol="greet"
  signature="function greet(name: string): string"
  description="Returns a localized greeting for the given name."
  bordered={false}
/>

More Editor pieces

View all Editor

Launch Checklist

Ship with confidence by running through the five-point review.

  • Verify preview URL
  • Run smoke suite
  • Tag the release
const total = items.reduce(sum, i) => sum + i.price);
Expected 2 arguments, but got 1.
greet()
greet(name: string, locale: Locale): string
return greet(name);
Hania
:fi
  • :fire:
  • :finish_line:
  • :first_place:
  • :fish:
The implmentation ships on Friday.
  • implementation
  • implements
  • implemented