mirror of
https://github.com/jfmengels/elm-review.git
synced 2024-09-11 16:16:09 +03:00
Add Class.none
This commit is contained in:
parent
ffd24e20a4
commit
dda670a24f
@ -39,7 +39,7 @@ module Css.NoUnknownClasses exposing
|
||||
|
||||
## Class module
|
||||
|
||||
module Class exposing (Class, batch, fromString, toAttr)
|
||||
module Class exposing (Class, batch, fromString, none, toAttr)
|
||||
|
||||
{-| TODO
|
||||
-}
|
||||
@ -50,6 +50,10 @@ module Css.NoUnknownClasses exposing
|
||||
type Class
|
||||
= Class (List String)
|
||||
|
||||
none : Class
|
||||
none =
|
||||
Class []
|
||||
|
||||
fromString : String -> Class
|
||||
fromString class =
|
||||
Class [ class ]
|
||||
|
Loading…
Reference in New Issue
Block a user