Components
Code group
Group code blocks into tabs labeled by filename.
Usage
Tab labels come from each block’s filename, or its language when there is none.
pnpm add @deltaq.dev/minesnpm install @deltaq.dev/minesyarn 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
import { serve } from './serve';
serve({ port: 3000 });export function serve({ port }: { port: number }) {
console.log(`Listening on ${port}`);
}Props
syncstring
Key shared by groups that should switch together, such as
pm.