import { createSignal, For } from "solid-js" import { Button } from "@opencode/ui/button" import { MenuScroll } from "./menu-scroll" const branches = [ "main", "dev", "release", "docs", "file-search", "settings", "theme-picker", "history", "keyboard", "mobile", "accessibility", "preview", ] const args = { rows: branches.length, height: 144, rtl: false } function Preview(props: typeof args) { const [branch, setBranch] = createSignal("main") return (
Tab through branches or swipe the list on a touch device.