touchstudy-core 0.1.137 → 0.1.139

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,3 @@
1
1
  import { FC } from "react";
2
- interface Props {
3
- history: any;
4
- }
5
- declare const TheLanguageDropdown: FC<Props>;
2
+ declare const TheLanguageDropdown: FC;
6
3
  export default TheLanguageDropdown;
@@ -1,11 +1,7 @@
1
- import { Language } from "../../configs/constants";
2
1
  import "moment/locale/ko.js";
3
2
  import "moment/locale/en-au.js";
4
- declare const useLanguage: (history: any) => {
3
+ declare const useLanguage: (history?: any, init?: boolean) => {
5
4
  language: any;
6
- dropdownOpen: boolean;
7
- currentLanguage: Language | undefined;
8
- toggle: () => void;
9
5
  handleChangeItemLanguage: (lang: string) => void;
10
6
  };
11
7
  export default useLanguage;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "touchstudy-core",
3
- "version": "0.1.137",
3
+ "version": "0.1.139",
4
4
  "description": "Contains core components && functions for TouchStudy project",
5
5
  "author": "brss",
6
6
  "license": "MIT",