From 65712964d3ed1939fc8992b45ddd13273a6c87a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Dudak?= Date: Fri, 1 Sep 2023 08:38:14 +0200 Subject: [PATCH] Update packages/mui-base/CONTRIBUTING.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Sam Sycamore <71297412+samuelsycamore@users.noreply.github.com> Signed-off-by: MichaƂ Dudak --- packages/mui-base/CONTRIBUTING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/mui-base/CONTRIBUTING.md b/packages/mui-base/CONTRIBUTING.md index 76629539eba122..928970b9686adf 100644 --- a/packages/mui-base/CONTRIBUTING.md +++ b/packages/mui-base/CONTRIBUTING.md @@ -53,7 +53,7 @@ If we allow a developer to skip running our logic for a given handler, we check ```tsx const createHandleKeyDown = (otherHandlers: EventHandlers) => (event: React.KeyboardEvent & MuiCancellableEvent) => { // Run the external handler first. - // It possibly can set the defaultMuiPrevented field. + // It can potentially set the defaultMuiPrevented field. otherHandlers.onKeyDown?.(event); // If the field is set, do not execute the usual handler logic.