Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit b28c1eb

Browse files
committed
Added delete icon
1 parent 025e357 commit b28c1eb

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

‎src/Icons.elm

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module Icons exposing (errorIcon, eye, eyeOff)
1+
module Icons exposing (deleteIcon, errorIcon, eye, eyeOff)
22

33
import Html exposing (Html)
44
import Svg exposing (..)
@@ -39,6 +39,16 @@ errorIcon =
3939
]
4040

4141

42+
deleteIcon : msg -> Html msg
43+
deleteIcon msg =
44+
svgFeatherIcon "x-circle"
45+
(Just msg)
46+
[ Svg.circle [ cx "12", cy "12", r "10" ] []
47+
, Svg.line [ x1 "15", y1 "9", x2 "9", y2 "15" ] []
48+
, Svg.line [ x1 "9", y1 "9", x2 "15", y2 "15" ] []
49+
]
50+
51+
4252
eye : msg -> Html msg
4353
eye msg =
4454
svgFeatherIcon "eye"

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /