kevcjones / ngx-simple-modal

A simple unopinionated framework to implement simple modal based behaviour in angular (v2+) projects.
MIT License
52 stars 28 forks source link

Add export of defaultSimpleModalOptions to index.ts #37

Closed Aracturat closed 6 years ago

Aracturat commented 6 years ago

Please add defaultSimpleModalOptions to the main index file.

Now it is:

import { SimpleModalModule } from 'ngx-simple-modal';
import { defaultSimpleModalOptions } from 'ngx-simple-modal/dist/simple-modal/simple-modal-options';

Desired result:

import { SimpleModalModule, defaultSimpleModalOptions  } from 'ngx-simple-modal';

I use it when I overwrite global settings:

SimpleModalModule.forRoot(
      { container: document.body },
      {
        ...defaultSimpleModalOptions,
        {...}
      })
kevcjones-archived commented 6 years ago

Released with 1.3.8