We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This should work for a single value.
(defstyled myelem :div ([html-attr-value] ^{:html-attr-key html-attr-value} ; attrs for outer html div [:<> [:h1 "Hello World"]])) (myelem "val") => <div html-attr-key="val"><h1>Hello World</h1></div>
But how do you pass a map of html attr values to outer (parent div) html element (when render function is receiving input)?
The text was updated successfully, but these errors were encountered:
Have a look at what we're doing in #13 . Does that solve your issue?
Sorry, something went wrong.
No branches or pull requests
This should work for a single value.
But how do you pass a map of html attr values to outer (parent div) html element (when render function is receiving input)?
The text was updated successfully, but these errors were encountered: