18 lines
883 B
TypeScript
18 lines
883 B
TypeScript
// Metro module 15133 (f15134).
|
|
import { useCallback } from "react";
|
|
import ActionSheetStore from "../../action_sheet/native/ActionSheetStore";
|
|
import { useStateFromStores } from "../../../_bundle/Module589";
|
|
import { GUILD_THEME_NUX_ACTION_SHEET_KEY } from "./GuildThemeNuxActionSheet";
|
|
import ActionSheetActionCreators from "../../action_sheet/native/ActionSheetActionCreators";
|
|
import useGuildThemeNuxTrigger2 from "../useGuildThemeNuxTrigger";
|
|
export default function useGuildThemeNuxTrigger(a0) {
|
|
useGuildThemeNuxTrigger2(a0, {
|
|
isNuxOpen: useStateFromStores([ActionSheetStore], () => ActionSheetStore.getKey() === GUILD_THEME_NUX_ACTION_SHEET_KEY),
|
|
openNux: useCallback((a0) => {
|
|
const r13 = import("./GuildThemeNuxActionSheet");
|
|
ActionSheetActionCreators.openLazy(r13, GUILD_THEME_NUX_ACTION_SHEET_KEY, a0, "stack");
|
|
return r13;
|
|
}, [])
|
|
});
|
|
};
|