git.iko.soy/typeable/elm-ui
on 2c582df help sign in
44 lines 949 B history raw
1module Tests.TextWrapping exposing (main, view)
3import Html
4import Testable
5import Testable.Element exposing (..)
6import Testable.Element.Background as Background
7import Testable.Element.Font as Font
8import Testable.Generator
9import Testable.Runner
10import Tests.Palette as Palette exposing (..)
13box attrs =
14 el
15 ([ width (px 50)
16 , height (px 50)
17 , Background.color blue
18 ]
19 ++ attrs
20 )
21 none
24{-| -}
25main : Html.Html msg
26main =
27 Testable.Runner.show view
30view =
31 column [ paddingXY 0 100, spacing 16 ]
32 [ paragraph []
33 [ text Testable.Generator.lorem
34 ]
35 , paragraph []
36 [ text Testable.Generator.lorem
37 , text Testable.Generator.lorem
38 ]
39 , paragraph []
40 [ text Testable.Generator.lorem
41 , paragraph []
42 [ text Testable.Generator.lorem ]
43 ]
44 ]