feat(react): add hotkeys (#1241)

This commit is contained in:
rahim
2026-04-07 12:28:25 -07:00
committed by GitHub
parent b1ddda05de
commit 1cc4ec7f81
10 changed files with 106 additions and 2 deletions
@@ -15,6 +15,7 @@ export const PiPButton = createMediaButton<PiPButtonCore, PiPButtonProps>({
stateAttrMap: PiPButtonDataAttrs,
selector: selectPiP,
action: (core, state) => core.toggle(state),
hotkeyAction: 'togglePiP',
});
export namespace PiPButton {