mirror of
https://github.com/NoRedInk/noredink-ui.git
synced 2024-12-01 00:34:27 +03:00
add borderless button to styleguide
This commit is contained in:
parent
1ba73d6763
commit
1f7717c341
8
src/Nri/Ui/BorderlessButton/V1.elm
Normal file
8
src/Nri/Ui/BorderlessButton/V1.elm
Normal 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 ]
|
@ -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 []
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user