Skip to content

Commit

Permalink
Quote aria-* props
Browse files Browse the repository at this point in the history
Co-authored-by: Fyodor Soikin <[email protected]>
  • Loading branch information
gasi and fsoikin authored May 13, 2024
1 parent ae4fdbf commit 386b5f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion codegen/html.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const printRow = (e, elProps) =>
? `
( _data :: Object String
-- ARIA
, ${ariaProps.map(p => `${p} :: String`).join("\n , ")}
, ${ariaProps.map(p => `"${p}" :: String`).join("\n , ")}
-- Props
, ${elProps.map(p => `${p} :: ${propType(e, p)}`).join("\n , ")}
)`
Expand Down

0 comments on commit 386b5f4

Please sign in to comment.