Skip to content

Commit

Permalink
fix: add missing attr to videoHTMLAttributes
Browse files Browse the repository at this point in the history
  • Loading branch information
Pedro Lisboa committed Jul 30, 2024
1 parent cf9ed62 commit 6316ca0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/react/src/DomProps.ml
Original file line number Diff line number Diff line change
Expand Up @@ -1077,6 +1077,8 @@ let videoHTMLAttributes =
Attribute { name = "playsinline"; jsxName = "playsInline"; type_ = Bool };

Attribute { name = "loop"; jsxName = "loop"; type_ = Bool };
Attribute { name = "muted"; jsxName = "muted"; type_ = Bool };
Attribute { name = "preload"; jsxName = "preload"; type_ = String };
Attribute { name = "poster"; jsxName = "poster"; type_ = String };
Attribute { name = "width"; jsxName = "width"; type_ = String (* number | *) };
Attribute { name = "disablepictureinpicture"; jsxName = "disablePictureInPicture"; type_ = Bool };
Expand Down

0 comments on commit 6316ca0

Please sign in to comment.