Esc

    Usage

    Tab labels come from each block’s filename, or its language when there is none.

    pnpm
    pnpm add @deltaq.dev/mines
    npm
    npm install @deltaq.dev/mines
    yarn
    yarn add @deltaq.dev/mines
    <CodeGroup sync="pm">
    ```bash [pnpm]
    pnpm add @deltaq.dev/mines
    ```
    ```bash [npm]
    npm install @deltaq.dev/mines
    ```
    ```bash [yarn]
    yarn add @deltaq.dev/mines
    ```
    </CodeGroup>

    Files

    server.ts
    import { serve } from './serve';
    
    serve({ port: 3000 });
    serve.ts
    export function serve({ port }: { port: number }) {
      console.log(`Listening on ${port}`);
    }

    Props

    syncstring

    Key shared by groups that should switch together, such as pm.