Module
ClassNames
- Package
- purescript-classnames
- Repository
- dewey92/purescript-classnames
#ClassNames Source
class ClassNames a where
Members
classNames' :: a -> Array String
Instances
ClassNames String
(ClassNames a) => ClassNames (Array a)
(ClassNames a) => ClassNames (Maybe a)
(ClassNames l, ClassNames r) => ClassNames (Tuple l r)
(RecordClassNames row rl, RowToList row rl) => ClassNames (Record row)
#RecordClassNames Source
class RecordClassNames :: Row Type -> RowList Type -> Constraint
class RecordClassNames (row :: Row Type) (rl :: RowList Type) where
Members
recToClassNames :: Record row -> Proxy rl -> Array String
Instances
RecordClassNames row Nil
(RecordClassNames row tail, IsSymbol label, Cons label Boolean rowTail row) => RecordClassNames row (Cons label Boolean tail)
#classNames Source
classNames :: forall a. ClassNames a => a -> String
- Modules
- ClassNames