Branch Switcher

Switch branch…
  • feat/onboarding
  • main
  • feat/ai-suggest
  • chore/cleanup
About this piece

Branch Switcher

Branch picker popover with search, a list of branches, and an emerald check on the current one.

Usage

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

import { Editor24 } from "@/components/beste/piece/editor24";

<Editor24
  current="feat/onboarding"
  branches={[
    {
      "name": "feat/onboarding",
      "current": true
    },
    {
      "name": "main"
    },
    {
      "name": "feat/ai-suggest"
    },
    {
      "name": "chore/cleanup"
    }
  ]}
  bordered={false}
/>

More Editor pieces

View all Editor
Theme
const user = { name: 'Nils' };
const msg = greet(user.name);
console.log(msg);
 
user.
  • idstring
  • namestring
  • emailstring
  • save(): Promise<void>
<<<<<<< Current
const greet = (name) => `Hi, ${name}!`;
=======
const greet = (name: string) => `Hello, ${name}!`;
>>>>>>> Incoming
onboarding3/12
activation