git.iko.soy/typeable/elm-ui
on d5c8a94 help sign in
51 lines 1.0 kB 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 el [] <|
32 paragraph []
33 [ Testable.Generator.box
34 ]
38-- column [ spacing 16 ]
39-- [ paragraph []
40-- [ el [] (text Testable.Generator.short)
41-- ]
42-- -- , paragraph []
43-- -- [ text Testable.Generator.lorem
44-- -- , text Testable.Generator.lorem
45-- -- ]
46-- -- , paragraph []
47-- -- [ text Testable.Generator.lorem
48-- -- , paragraph []
49-- -- [ text Testable.Generator.lorem ]
50-- -- ]
51-- ]