Rename Refactor

greetsayHello
  • greet.ts1
  • app.tsx4
  • welcome.tsx2
About this piece

Rename Refactor

Preview card with the struck-through old name, the new name, and a list of affected files with ref counts.

Usage

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

import { Editor34 } from "@/components/beste/piece/editor34";

<Editor34
  oldName="greet"
  newName="sayHello"
  matches={[
    {
      "file": "greet.ts",
      "count": 1
    },
    {
      "file": "app.tsx",
      "count": 4
    },
    {
      "file": "welcome.tsx",
      "count": 2
    }
  ]}
  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
Zen Modemanifesto.md
Portrait Hero

Tall photograph beside a heading, a short paragraph and a checked benefit list.

Theme
function greet(name: string)
Your page looks empty

Start by adding your first block.