UNPKG

@csvbox/vuejs3

Version:

Vue adapter (Vue Version 3) for csvbox.io

43 lines (34 loc) 1.08 kB
declare module '@csvbox/vuejs3' { import { DefineComponent } from 'vue'; export interface CSVBoxOptions { [key: string]: any; } export interface CSVBoxUser { user_id: string; [key: string]: string; } export interface CSVBoxEnvironment { [key: string]: string; } export interface DynamicColumns { [key: string]: any; } export interface CSVBoxButtonProps { licenseKey: string; onImport?: (success: boolean, data?: any) => void; onReady?: () => void; onSubmit?: (data: any) => void; onClose?: () => void; user?: CSVBoxUser; dynamicColumns?: DynamicColumns | null; options?: CSVBoxOptions; dataLocation?: string; customDomain?: string; language?: string; lazy?: boolean; loadStarted?: () => void; environment?: CSVBoxEnvironment | null; } const CSVBoxButton: DefineComponent<CSVBoxButtonProps>; export default CSVBoxButton; }