Using HTMLAttr.Class in combination with a CSS type provider or CSS class literals lets to messy code. Would be cool to have an alternative case that takes a list of strings.
Example:
Class (sprintf "%s %s %s" AdminCss.button AdminCss.buttonPrimary AdminCss.buttonLarge)
Using
HTMLAttr.Class
in combination with a CSS type provider or CSS class literals lets to messy code. Would be cool to have an alternative case that takes a list of strings.Example:
Instead I'd like to do something like this:
Would be a nice addition IMHO.
I use a helper function for now..