diff --git a/packages/angular/src/types/index.ts b/packages/angular/src/types/index.ts index 37e7f535..60a24284 100644 --- a/packages/angular/src/types/index.ts +++ b/packages/angular/src/types/index.ts @@ -55,6 +55,10 @@ export interface ShowWidgetProps { templateId: string; accessToken: string; texts?: CustomTexts; + title?: string; + primaryColor?: string; + extra?: string | Record; + authHeaderValue?: string | (() => string) | (() => Promise); } export type DeepPartial = T extends object @@ -64,19 +68,3 @@ export type DeepPartial = T extends object : T; export type CustomTexts = DeepPartial; - -export interface UseImplerProps { - title?: string; - texts?: CustomTexts; - projectId?: string; - templateId?: string; - accessToken?: string; - primaryColor?: string; - extra?: string | Record; - authHeaderValue?: string | (() => string) | (() => Promise); - onUploadStart?: (value: UploadTemplateData) => void; - onUploadTerminate?: (value: UploadData) => void; - onUploadComplete?: (value: IUpload) => void; - onDataImported?: (importedData: Record[]) => void; - onWidgetClose?: () => void; -}