elcrm 0.9.9 → 0.9.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  type Props = {
3
3
  children?: any;
4
+ lang?: string;
4
5
  };
5
- declare const Init: ({ children }: Props) => import('react').ReactNode;
6
+ declare const Init: ({ children, lang }: Props) => import('react').ReactNode;
6
7
  export default Init;
@@ -1,5 +1,5 @@
1
1
  export declare const addDictionary: (j: any) => void;
2
- export declare function useData(lang?: string): any;
2
+ export declare function useData(lang?: string): string[];
3
3
  export type TLangProvider = {
4
4
  lang?: string;
5
5
  children: any;
@@ -1,8 +1,5 @@
1
- import { useData } from './Lang';
2
1
  declare const _default: {
3
- useData: typeof useData;
4
2
  addDictionary: (j: any) => void;
5
- Provider: ({ lang, children }: import('./Lang').TLangProvider) => import("react/jsx-runtime").JSX.Element;
6
3
  getDictionary: (lang?: string | undefined) => any;
7
4
  setDictionary: (lang?: string | undefined) => void;
8
5
  };