Module

Stylesheet.Internal.AddStyle

Package
purescript-stylesheet
Repository
danieljharvey/purescript-stylesheet

#addStyle Source

addStyle :: forall p props. Stylesheet p -> CSSRuleSet props -> props -> Effect (Array CSSSelector)

This is the top level big dog of a function, as such We provide the big Stylesheet doing-things-lump a function from props -> Styles some props and we get back a bunch of CSSSelectors (classes)