Compare commits
3 Commits
80cc4fe0fe
...
fa6ef80493
Author | SHA1 | Date |
---|---|---|
|
fa6ef80493 | 3 weeks ago |
|
0f093b2ef9 | 3 weeks ago |
|
28eea56a3d | 3 weeks ago |
6 changed files with 20 additions and 13 deletions
@ -0,0 +1,5 @@ |
|||||
|
import { PlatForm } from "." |
||||
|
|
||||
|
export function usePlatForm() { |
||||
|
return PlatForm.getInstance<PlatForm>() |
||||
|
} |
@ -1,9 +0,0 @@ |
|||||
import { PlatForm } from "./event/PlatForm" |
|
||||
import { Tabs } from "./event/Tabs" |
|
||||
|
|
||||
export function usePlatForm() { |
|
||||
return { |
|
||||
Tabs: Tabs.getInstance<Tabs>(), |
|
||||
PlatForm: PlatForm.getInstance<PlatForm>(), |
|
||||
} |
|
||||
} |
|
Loading…
Reference in new issue