🚨 Latest Research:Tanstack npm Packages Compromised in Ongoing Mini Shai-Hulud Supply-Chain Attack.Learn More
Socket
Book a DemoSign in
Socket

@types/react-type-animation

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/react-type-animation - npm Package Compare versions

Comparing version
1.1.0
to
1.1.1
+8
-42
react-type-animation/index.d.ts

@@ -6,48 +6,14 @@ // Type definitions for react-type-animation 1.1

import { ReactNode, FunctionComponent } from 'react';
import { FunctionComponent } from 'react';
interface TypingProps {
element?: string;
children: ReactNode;
export interface TypeAnimationProps {
sequence: Array<string | number>;
wrapper?: string;
repeat?: number;
cursor?: boolean;
className?: string;
cursorClassName?: string;
cursorElement?: string;
cursor?: ReactNode;
hideCursor?: boolean;
speed?: number;
startDelay?: number;
loop?: boolean;
onStartedTyping?: () => void;
onBeforeType?: () => void;
onAfterType?: () => void;
onFinishedTyping?: () => void;
}
interface BackspaceProps {
count?: number;
delay?: number;
speed?: number;
}
declare const TypeAnimation: FunctionComponent<TypeAnimationProps>;
interface DelayProps {
ms: number;
}
interface SpeedProps {
ms: number;
}
interface ResetProps {
count?: number;
delay?: number;
speed?: number;
}
declare const Typing: FunctionComponent<TypingProps> & {
Backspace: FunctionComponent<BackspaceProps>;
Delay: FunctionComponent<DelayProps>;
Speed: FunctionComponent<SpeedProps>;
Reset: FunctionComponent<ResetProps>;
};
export default Typing;
export default TypeAnimation;
+2
-2
{
"name": "@types/react-type-animation",
"version": "1.1.0",
"version": "1.1.1",
"description": "TypeScript definitions for react-type-animation",

@@ -25,4 +25,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-type-animation",

},
"typesPublisherContentHash": "51908a6c65de404ff0ccf0e4cb6b5614c0fa7331b0f088ba937e3efd9333c16e",
"typesPublisherContentHash": "a459d54a2be01a4b0991b84716a098e9ad4f57fdd370770d6ae3c1d210a7c7e5",
"typeScriptVersion": "4.0"
}

@@ -16,54 +16,20 @@ # Installation

import { ReactNode, FunctionComponent } from 'react';
import { FunctionComponent } from 'react';
interface TypingProps {
element?: string;
children: ReactNode;
export interface TypeAnimationProps {
sequence: Array<string | number>;
wrapper?: string;
repeat?: number;
cursor?: boolean;
className?: string;
cursorClassName?: string;
cursorElement?: string;
cursor?: ReactNode;
hideCursor?: boolean;
speed?: number;
startDelay?: number;
loop?: boolean;
onStartedTyping?: () => void;
onBeforeType?: () => void;
onAfterType?: () => void;
onFinishedTyping?: () => void;
}
interface BackspaceProps {
count?: number;
delay?: number;
speed?: number;
}
declare const TypeAnimation: FunctionComponent<TypeAnimationProps>;
interface DelayProps {
ms: number;
}
export default TypeAnimation;
interface SpeedProps {
ms: number;
}
interface ResetProps {
count?: number;
delay?: number;
speed?: number;
}
declare const Typing: FunctionComponent<TypingProps> & {
Backspace: FunctionComponent<BackspaceProps>;
Delay: FunctionComponent<DelayProps>;
Speed: FunctionComponent<SpeedProps>;
Reset: FunctionComponent<ResetProps>;
};
export default Typing;
````
### Additional Details
* Last updated: Sun, 12 Jun 2022 14:31:38 GMT
* Last updated: Wed, 15 Jun 2022 00:31:33 GMT
* Dependencies: [@types/react](https://npmjs.com/package/@types/react)

@@ -70,0 +36,0 @@ * Global values: none