You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We already have ToClassList instances for string and record, both of which are implemented by transforming them into Array String. Meanwhile, it seems that it could be good idea to add a trivial instance ToClassList (Array String) so that we can save time while avoid long lines when handling with libraries like TailwindCSS. Alternatively, we can add a classList attribute to handle things.
To be exact, we could add
instanceToClassList (ArrayString) where
to = identity
We already have ToClassList instances for string and record, both of which are implemented by transforming them into
Array String
. Meanwhile, it seems that it could be good idea to add a trivial instanceToClassList (Array String)
so that we can save time while avoid long lines when handling with libraries like TailwindCSS. Alternatively, we can add aclassList
attribute to handle things.To be exact, we could add
here for the former idea.
What would you think?
The text was updated successfully, but these errors were encountered: