@builtwithjavascript/component-starter
Advanced tools
@@ -1,4 +0,9 @@ | ||
| export declare const useComponentStarter: (id: string, options?: any) => { | ||
| export type AnyFn = () => any; | ||
| export interface TComponentStarterOptions { | ||
| onOpen?: AnyFn; | ||
| } | ||
| export interface TComponentStarter { | ||
| id: string; | ||
| cleanup: () => void; | ||
| }; | ||
| cleanup: AnyFn; | ||
| } | ||
| export declare const useComponentStarter: (id: string, options?: TComponentStarterOptions) => TComponentStarter; |
+1
-1
| { | ||
| "name": "@builtwithjavascript/component-starter", | ||
| "version": "0.1.1", | ||
| "version": "0.1.2", | ||
| "description": "Starter kit for component library using Vite with TypeScript (just JS, no frameworks or libraries)", | ||
@@ -5,0 +5,0 @@ "author": "Damiano Fusco", |
4697
3.66%30
20%