Bridge Training
Bridge ReactBidding

Extras

Declarer alert and auction preview table.

Import from @workspace/bridge-react/bidding/*.

AuctionDeclarerAlert

Alert component showing the current declarer status. Shows help when auction is empty, success when valid, and error with auto-fix when invalid.

import { AuctionDeclarerAlert } from '@workspace/bridge-react/bidding/declarer-alert';

<AuctionDeclarerAlert
  declarer="S"
  hasAuction={true}
  isAuctionComplete={true}
  requiredDeclarer="S"
  onAutoFix={() => fixDealer()}
/>

Demo

Props

Prop

Type

AuctionPreviewTable

Compact read-only auction table for previewing bidding sequences in a minimal format.

import { AuctionPreviewTable } from '@workspace/bridge-react/bidding/auction-preview-table';

<AuctionPreviewTable
  bids={bids}
  dealer="N"
/>

Demo

Props

Prop

Type

On this page