react-klasha
Version:
This is an reactJS library for implementing klasha payment gateway
10 lines (7 loc) • 303 B
JavaScript
import { m as menuController } from './index5.js';
// Given a menu, return whether or not the menu toggle should be visible
const updateVisibility = async (menu) => {
const menuEl = await menuController.get(menu);
return !!(menuEl && await menuEl.isActive());
};
export { updateVisibility as u };