From 17082474ebdab6f857a71aadb4d5970b44673173 Mon Sep 17 00:00:00 2001 From: Moti Zilberman Date: Sun, 12 Aug 2018 14:26:29 +0100 Subject: [PATCH] Add tangentialPressure and twist fields to SyntheticPointerEvent https://github.com/facebook/react/pull/13374 has been merged so the next React DOM release will have these fields. --- lib/react-dom.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/react-dom.js b/lib/react-dom.js index e2bb0ddb3eb..8d76dc2b319 100644 --- a/lib/react-dom.js +++ b/lib/react-dom.js @@ -231,8 +231,10 @@ declare class SyntheticPointerEvent< width: number; height: number; pressure: number; + tangentialPressure: number; tiltX: number; tiltY: number; + twist: number; pointerType: string; isPrimary: boolean; }