refactor: add TranslatorManager
This commit is contained in:
14
src/libs/fabManager.js
Normal file
14
src/libs/fabManager.js
Normal file
@@ -0,0 +1,14 @@
|
||||
import ShadowDomManager from "./shadowDomManager";
|
||||
import { APP_CONSTS } from "../config";
|
||||
import ContentFab from "../views/Action/ContentFab";
|
||||
|
||||
export class FabManager extends ShadowDomManager {
|
||||
constructor({ translator, popupManager, fabConfig }) {
|
||||
super({
|
||||
id: APP_CONSTS.fabID,
|
||||
className: "notranslate",
|
||||
reactComponent: ContentFab,
|
||||
props: { translator, popupManager, fabConfig },
|
||||
});
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user