UNPKG

react-native-navigation

Version:

React Native Navigation - truly native navigation for iOS and Android

18 lines (17 loc) 565 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.LayoutProcessorsStore = void 0; class LayoutProcessorsStore { layoutProcessors = []; addProcessor(processor) { this.layoutProcessors.push(processor); return { remove: () => this.removeProcessor(processor) }; } getProcessors() { return this.layoutProcessors; } removeProcessor(processor) { this.layoutProcessors.splice(this.layoutProcessors.indexOf(processor)); } } exports.LayoutProcessorsStore = LayoutProcessorsStore;