Skip to content

Commit ad77129

Browse files
committed
Add additional TransitionGroup props (missing in the typescript definition file).
1 parent f6ee050 commit ad77129

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/Fable.React.TransitionGroup/Fable.Helpers.React.TransitionGroup.fs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,15 @@ module TransitionGroup =
141141
/// If you use React v16+ and would like to avoid a wrapping <div> element you can pass in `Component null`.
142142
/// This is useful if the wrapping div borks your css styles.
143143
| Component of React.ReactType
144+
/// A convenience prop that enables or disables appear animations for all children.
145+
/// Note that specifying this will override any defaults set on individual children Transitions.
146+
| Appear of bool
147+
/// A convenience prop that enables or disables enter animations for all children.
148+
/// Note that specifying this will override any defaults set on individual children Transitions.
149+
| Enter of bool
150+
/// A convenience prop that enables or disables exit animations for all children.
151+
/// Note that specifying this will override any defaults set on individual children Transitions.
152+
| Exit of bool
144153
/// You may need to apply reactive updates to a child as it is exiting.
145154
/// This is generally done by using cloneElement however in the case of an
146155
/// exiting child the element has already been removed and not accessible to the consumer.

0 commit comments

Comments
 (0)