add borderless button to styleguide

This commit is contained in:
Brooke Angel 2019-01-30 13:45:13 -08:00
parent 1ba73d6763
commit 1f7717c341
2 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1,8 @@
module Nri.Ui.BorderlessButton.V1 exposing (button)
import Html.Styled as Html exposing (..)
button : String -> Html msg
button label =
Html.button [] [ text label ]

View File

@ -11,6 +11,7 @@ import Html.Styled exposing (..)
import Html.Styled.Attributes exposing (css, id)
import ModuleExample as ModuleExample exposing (Category(..), ModuleExample, ModuleMessages)
import Nri.Ui.AssetPath exposing (Asset)
import Nri.Ui.BorderlessButton.V1 as BorderlessButton
import Nri.Ui.Button.V7 as Button
import Nri.Ui.Icon.V4 as Icon
import Nri.Ui.Text.V2 as Text
@ -153,6 +154,7 @@ viewButtonExamples assets messages (State control) =
, icon = Nothing
, url = "#"
}
, BorderlessButton.button "I am borderless"
]
|> div []