bigardone/elm-css-placeholders/1.0.0

NOTE: the latest version is 2.0.1

Placeholders.Square

Renders a square placeholder.

Definition

type alias Square =
{ backgroundColor : Color
, borderRadius : Px
, size : Px
}

Represents the configuration for a square placeholder

default : Square

Returns a default configuration for a square placeholder.

View

view : Square -> Html msg

Renders a square placeholder using the given configuration.