Socket
Socket
Sign inDemoInstall

typeit-react

Package Overview
Dependencies
Maintainers
1
Versions
65
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

typeit-react - npm Package Compare versions

Comparing version 2.0.6 to 2.0.7

dist/helpers/isVoidElement.d.ts

33

dist/index.d.ts

@@ -1,24 +0,13 @@

/// <reference types="react" />
declare module "helpers/isVoidElement" {
const _default: (elementName: string) => boolean;
/**
* Given the name of an element, check if it's one of the "void" elements,
* which cannot contain any children.
*/
export default _default;
import * as React from 'react';
export interface TypeItOptions {
strings?: Array<string> | string;
}
declare module "index" {
import * as React from 'react';
export interface TypeItOptions {
strings?: Array<string> | string;
}
export interface TypeItProps {
as?: keyof JSX.IntrinsicElements;
options?: TypeItOptions;
children?: React.ReactNode;
getBeforeInit?: (instance: any) => Function;
getAfterInit?: (instance: any) => Function;
}
const TypeIt: React.FunctionComponent<TypeItProps>;
export default TypeIt;
export interface TypeItProps {
as?: keyof JSX.IntrinsicElements;
options?: TypeItOptions;
children?: React.ReactNode;
getBeforeInit?: (instance: any) => Function;
getAfterInit?: (instance: any) => Function;
}
declare const TypeIt: React.FunctionComponent<TypeItProps>;
export default TypeIt;
{
"name": "typeit-react",
"version": "2.0.6",
"version": "2.0.7",
"description": "React component for the most versatile JavaScript animated typing utility on the planet.",

@@ -42,3 +42,3 @@ "homepage": "https://typeitjs.com",

"react-dom": "^17.0.2",
"typeit": "^8.0.6",
"typeit": "^8.0.7",
"vite": "^2.6.10"

@@ -51,3 +51,3 @@ },

},
"gitHead": "9d8605c5828a2745620a3eb6608f10b231b29ecc"
"gitHead": "8a1e9e1002149c324492d7054ce32446d1b7961e"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc