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:
Haseeb Majid 2020-02-25 00:17:02 +00:00 committed by GitHub
parent f3c1059da6
commit b0fc21acbc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 {