typeit-react
Advanced tools
Comparing version 2.0.6 to 2.0.7
@@ -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" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
13
79834
947
Updatedtypeit@^8.0.7