#781·sonner

Docs: three prop-table errors (offset default, hotkey type, containerAriaLabel placement)

Author: realkssCreated Aug 14, 2026Updated Aug 14, 2026

Three rows on sonner.emilkowal.ski disagree with the published package (checked against [email protected] dist/index.d.ts / index.mjs; all three reproduce today):

  1. /toaster — offset default shown as 32px. v2 ships VIEWPORT_OFFSET = '24px'. 32px was the v1 default.
  2. /toaster — hotkey typed string. It's string[] (the code calls hotkey.join('+') / hotkey.every(...); a string throws TypeError and unmounts the Toaster). Default ['altKey', 'KeyT'].
  3. /toast — containerAriaLabel listed as a toast() option. It's declared only on ToasterProps; passed per-toast it's silently ignored, and it's absent from the /toaster table — so it's documented only where it doesn't work.

(A sibling PR fixes the same values where they were transcribed into emilkowalski/skills.)

Generated with Claude Code