From ad84412adee635b814df073d55d26523143bf319 Mon Sep 17 00:00:00 2001 From: Konstantin Kharlamov Date: Tue, 26 Nov 2024 18:53:06 +0300 Subject: [PATCH] Added "disabled" attribute to `menuitem` Isn't really important as the element is deprecated, but anyway... Reference: https://www.w3schools.com/tags/tag_menuitem.asp --- codegen/react-html-attributes.json | 3 +++ src/React/Basic/DOM/Generated.purs | 1 + src/React/Basic/DOM/Simplified/Generated.purs | 1 + 3 files changed, 5 insertions(+) diff --git a/codegen/react-html-attributes.json b/codegen/react-html-attributes.json index 1f3e89d..236fb32 100644 --- a/codegen/react-html-attributes.json +++ b/codegen/react-html-attributes.json @@ -365,6 +365,9 @@ "map": [ "name" ], + "menuitem": [ + "disabled" + ], "meta": [ "content", "name" diff --git a/src/React/Basic/DOM/Generated.purs b/src/React/Basic/DOM/Generated.purs index 03cd1c1..ee70c46 100644 --- a/src/React/Basic/DOM/Generated.purs +++ b/src/React/Basic/DOM/Generated.purs @@ -10235,6 +10235,7 @@ type Props_menuitem = , datatype :: String , dateTime :: String , dir :: String + , disabled :: Boolean , draggable :: Boolean , encType :: String , formAction :: String diff --git a/src/React/Basic/DOM/Simplified/Generated.purs b/src/React/Basic/DOM/Simplified/Generated.purs index 6209ec4..8bb3db7 100644 --- a/src/React/Basic/DOM/Simplified/Generated.purs +++ b/src/React/Basic/DOM/Simplified/Generated.purs @@ -9268,6 +9268,7 @@ type Props_menuitem = , datatype :: String , dateTime :: String , dir :: String + , disabled :: Boolean , draggable :: Boolean , encType :: String , formAction :: String