Skip to content

Commit

Permalink
catch up new interface for Attachment
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianHicks committed Feb 17, 2020
1 parent adead74 commit 005c713
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions src/Attachment.elm
@@ -1,17 +1,12 @@
module Attachment exposing (Attachment, init, view)
module Attachment exposing (Attachment(..), view)

import Html exposing (Html)
import Html.Attributes as Attrs
import Html.Events as Events


type alias Attachment =
{ top : Int }


init : Int -> Attachment
init =
Attachment << abs
type Attachment
= Attachment Float


view : Attachment -> Html msg
Expand Down

0 comments on commit 005c713

Please sign in to comment.