Skip to content

Commit f3c5f33

Browse files
committed
Add rel to Link
1 parent d5d9512 commit f3c5f33

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Lumi/Components2/Link.purs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ type LinkProps
2424
, navigate :: Maybe (Effect Unit)
2525
, tabIndex :: Int
2626
, target :: Maybe String
27+
, rel :: Maybe String
2728
, download :: Maybe String
2829
, content :: Array JSX
2930
, className :: String
@@ -41,6 +42,7 @@ link =
4142
, navigate: Nothing
4243
, tabIndex: 0
4344
, target: Nothing
45+
, rel: Nothing
4446
, download: Nothing
4547
, content: []
4648
}
@@ -64,6 +66,7 @@ link =
6466
(handler stopPropagation mempty)
6567
syntheticEvent
6668
, target: toNullable props.target
69+
, rel: toNullable props.rel
6770
, tabIndex: props.tabIndex
6871
, download: toNullable props.download
6972
}

0 commit comments

Comments
 (0)