Skip to content

Commit

Permalink
feat: change JSX variants to handle jsx prop name
Browse files Browse the repository at this point in the history
  • Loading branch information
pedrobslisboa authored and davesnx committed Feb 3, 2025
1 parent 1ea00a0 commit fc997f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/runtime/native/CSS.ml
Original file line number Diff line number Diff line change
Expand Up @@ -485,8 +485,8 @@ let get_string_style_hashes () =
let style_tag ?key:_ ?children:_ () =
React.createElement "style"
[
String ("data-emotion", "css " ^ get_string_style_hashes ());
Bool ("data-s", true);
String ("data-emotion", "data-emotion", "css " ^ get_string_style_hashes ());
Bool ("data-s", "data-s", true);
DangerouslyInnerHtml (get_stylesheet ());
]
[]
Expand Down

0 comments on commit fc997f9

Please sign in to comment.