mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-12 04:50:18 +00:00
allow loop to be boolean or number (#37749)
This commit is contained in:
Vendored
+2
-1
@@ -10,8 +10,9 @@ import * as React from 'react';
|
||||
export interface Options {
|
||||
/**
|
||||
* Defines if the animation should play only once or repeatedly in an endless loop
|
||||
* or the number of loops that should be completed before the animation ends
|
||||
*/
|
||||
loop?: boolean;
|
||||
loop?: boolean | number;
|
||||
/**
|
||||
* Defines if the animation should immediately play when the component enters the DOM
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user