mirror of
https://github.com/NoRedInk/noredink-ui.git
synced 2025-01-06 05:39:12 +03:00
💀 kill Delete button config
This commit is contained in:
parent
ffd35ef1fb
commit
7c8a626975
@ -206,15 +206,15 @@ button config content =
|
||||
-- DELETE BUTTON
|
||||
|
||||
|
||||
type alias DeleteButtonConfig msg =
|
||||
{ label : String
|
||||
, onClick : msg
|
||||
}
|
||||
|
||||
|
||||
{-| A delete button (blue X)
|
||||
-}
|
||||
delete : { r | x : String } -> DeleteButtonConfig msg -> Html msg
|
||||
delete :
|
||||
{ r | x : String }
|
||||
->
|
||||
{ label : String
|
||||
, onClick : msg
|
||||
}
|
||||
-> Html msg
|
||||
delete assets config =
|
||||
Nri.Ui.styled Html.button
|
||||
(styledName "delete")
|
||||
|
Loading…
Reference in New Issue
Block a user