tour-guider
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -1,5 +0,5 @@ | ||
declare const useCustomHook: (initialState: string) => { | ||
declare const useGuideHook: (initialState: string) => { | ||
state: string; | ||
handleChange: (newValue: string) => void; | ||
}; | ||
export default useCustomHook; | ||
export default useGuideHook; |
import MyComponent from "./components/MyComponent"; | ||
import useCustomHook from "./hooks/useCustomHook"; | ||
export { MyComponent, useCustomHook }; | ||
import useGuideHook from "./hooks/useGuideHook"; | ||
export { MyComponent, useGuideHook }; |
@@ -1,1 +0,1 @@ | ||
"use strict";var e=require("react");exports.MyComponent=({text:t})=>e.createElement("div",{className:"my-component"},t),exports.useCustomHook=t=>{const[s,o]=e.useState(t);return{state:s,handleChange:e=>{o(e)}}}; | ||
"use strict";var e=require("react");exports.MyComponent=({text:t})=>e.createElement("div",{className:"my-component"},t),exports.useGuideHook=t=>{const[s,o]=e.useState(t);return{state:s,handleChange:e=>{o(e)}}}; |
{ | ||
"name": "tour-guider", | ||
"version": "1.0.0", | ||
"description": "", | ||
"version": "1.0.1", | ||
"description": "A website onboarding guide library", | ||
"main": "dist/index.js", | ||
@@ -13,5 +13,5 @@ "module": "dist/index.js", | ||
}, | ||
"keywords": [], | ||
"author": "", | ||
"license": "ISC", | ||
"keywords": ["react","website","onboarding","tour","guide"], | ||
"author": "Md Asif Momin", | ||
"license": "MIT", | ||
"dependencies": { | ||
@@ -18,0 +18,0 @@ "react": "^18.3.1", |
export { default as MyComponent } from './components/MyComponent'; | ||
export { default as useCustomHook } from './hooks/useCustomHook'; | ||
export { default as useGuideHook } from './hooks/useGuideHook'; |
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
No contributors or author data
MaintenancePackage does not specify a list of contributors or an author in package.json.
Found 1 instance in 1 package
4364
1