mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
Updating react-typing-animation (#42564)
* Added React Native Share Extension
* Fixed Linting Issues
Fixed linting issues, added tests.
* Fixed other linting issues
Data returns a promise.
* Removed Public from state
Removed public from state.
* Added react-typing-animation
Added react-typing-animation.
* Updated react-typing-animation
Updated the react-typing-animation definitions
with the extra components such as delay, backspace.
* Fix small typo in react-typing-animation
Fixed small typo where onFinishedType should be
onFinishedTyping.
* Functions should return void
Functions in `Typing` should return void not `{}`.
This commit is contained in:
parent
f3c1059da6
commit
b0fc21acbc
8
types/react-typing-animation/index.d.ts
vendored
8
types/react-typing-animation/index.d.ts
vendored
@ -15,10 +15,10 @@ export interface TypingProps {
|
||||
speed?: number;
|
||||
startDelay?: number;
|
||||
loop?: boolean;
|
||||
onStartedTyping?: () => {};
|
||||
onBeforeType?: () => {};
|
||||
onAfterType?: () => {};
|
||||
onFinishedType?: () => {};
|
||||
onStartedTyping?: () => void;
|
||||
onBeforeType?: () => void;
|
||||
onAfterType?: () => void;
|
||||
onFinishedTyping?: () => void;
|
||||
}
|
||||
|
||||
declare namespace Typing {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user