Skip to content

Commit

Permalink
Added "disabled" attribute to menuitem
Browse files Browse the repository at this point in the history
Isn't really important as the element is deprecated, but anyway...

Reference: https://www.w3schools.com/tags/tag_menuitem.asp
  • Loading branch information
Hi-Angel committed Nov 26, 2024
1 parent a0ed953 commit ad84412
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions codegen/react-html-attributes.json
Original file line number Diff line number Diff line change
Expand Up @@ -365,6 +365,9 @@
"map": [
"name"
],
"menuitem": [
"disabled"
],
"meta": [
"content",
"name"
Expand Down
1 change: 1 addition & 0 deletions src/React/Basic/DOM/Generated.purs
Original file line number Diff line number Diff line change
Expand Up @@ -10235,6 +10235,7 @@ type Props_menuitem =
, datatype :: String
, dateTime :: String
, dir :: String
, disabled :: Boolean
, draggable :: Boolean
, encType :: String
, formAction :: String
Expand Down
1 change: 1 addition & 0 deletions src/React/Basic/DOM/Simplified/Generated.purs
Original file line number Diff line number Diff line change
Expand Up @@ -9268,6 +9268,7 @@ type Props_menuitem =
, datatype :: String
, dateTime :: String
, dir :: String
, disabled :: Boolean
, draggable :: Boolean
, encType :: String
, formAction :: String
Expand Down

0 comments on commit ad84412

Please sign in to comment.