Skip to content

Commit 3e4c482

Browse files
committed
DOMProps: add key prop
1 parent 72b0cf7 commit 3e4c482

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/React/DOM.purs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ module React.DOM where
9595
| AutoCorrect String
9696
| Property String
9797
| Ref String
98+
| Key String
9899
| DangerouslySetInnerHTML {__html :: String}
99100

100101
-- events
@@ -229,6 +230,7 @@ module React.DOM where
229230
autoCorrect = AutoCorrect
230231
property = Property
231232
ref = Ref
233+
key = Key
232234
dangerouslySetInnerHTML v = DangerouslySetInnerHTML {__html: v}
233235
value = Value
234236

0 commit comments

Comments
 (0)