ngrx / store-log-monitor

Log Monitor for @ngrx/store-devtools and Angular
MIT License
63 stars 18 forks source link

Expose StoreLogMonitorComponent so it can be downgraded for Angular 1 #28

Open gregjacobs opened 7 years ago

gregjacobs commented 7 years ago

Hey, just trying to put the log monitor into the root html context of our Angular1/Angular2 hybrid app, but because StoreLogMonitorComponent is not exported, I don't have access to it to downgrade it.

Basically trying to do this:

import { StoreLogMonitorComponent } from '@ngrx/store-log-monitor';

angular.module( 'myA1App' )
    .directive( 'ngrxStoreLogMonitor', downgradeComponent( {
        component: StoreLogMonitorComponent,
        inputs: [ 'toggleCommand', 'positionCommand' ]
    } );

Could you add the StoreLogMonitorComponent component class as an export from index.ts?