about summary refs log tree commit diff
path: root/users/wpcarro/website/habit-screens/src/UI.elm
blob: 5b54269135703e0b47c8150273e412a06a0fe0e8 (plain) (blame)
1
2
3
4
5
6
7
8
9
module UI exposing (..)

import Html exposing (..)
import Html.Attributes exposing (..)


button : List (Attribute msg) -> List (Html msg) -> Html msg
button attrs children =
    Html.button ([ class "focus:outline-none" ] ++ attrs) children