diff --git a/src/Nri/Ui/BorderlessButton/V1.elm b/src/Nri/Ui/BorderlessButton/V1.elm new file mode 100644 index 00000000..80287f14 --- /dev/null +++ b/src/Nri/Ui/BorderlessButton/V1.elm @@ -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 ] diff --git a/styleguide-app/Examples/Button.elm b/styleguide-app/Examples/Button.elm index b87c2f5b..b05baf85 100644 --- a/styleguide-app/Examples/Button.elm +++ b/styleguide-app/Examples/Button.elm @@ -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 []