File tree 1 file changed +3
-3
lines changed 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -183,16 +183,16 @@ export interface UseTransitionProps<TItem, DS extends object>
183
183
* Values that apply to new elements, or: item => values
184
184
* @default {}
185
185
*/
186
- enter ?: InferFrom < DS > | ( ( item : TItem ) => InferFrom < DS > )
186
+ enter ?: InferFrom < DS > | InferFrom < DS > [ ] | ( ( item : TItem ) => InferFrom < DS > )
187
187
/**
188
188
* Values that apply to leaving elements, or: item => values
189
189
* @default {}
190
190
*/
191
- leave ?: InferFrom < DS > | ( ( item : TItem ) => InferFrom < DS > )
191
+ leave ?: InferFrom < DS > | InferFrom < DS > [ ] | ( ( item : TItem ) => InferFrom < DS > )
192
192
/**
193
193
* Values that apply to elements that are neither entering nor leaving (you can use this to update present elements), or: item => values
194
194
*/
195
- update ?: InferFrom < DS > | ( ( item : TItem ) => InferFrom < DS > )
195
+ update ?: InferFrom < DS > | InferFrom < DS > [ ] | ( ( item : TItem ) => InferFrom < DS > )
196
196
/**
197
197
* Initial (first time) base values, optional (can be null)
198
198
*/
You can’t perform that action at this time.
0 commit comments