@wildwinter/app-shell 0.21.0 → 0.23.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -485,7 +485,10 @@ function pinButton(opts) {
485
485
  reflect();
486
486
  opts.onToggle(pinned);
487
487
  });
488
- return b;
488
+ return { el: b, set: (next) => {
489
+ pinned = next;
490
+ reflect();
491
+ } };
489
492
  }
490
493
 
491
494
  // src/exit.ts