# All files / composer/utils/draft-js-custom-plugins/imported-facebook-mention-entities index.js

50% Statements 1/2
100% Branches 0/0
0% Functions 0/1
100% Lines 1/1

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16

    7x

     import ImportedMention from './ImportedMention';
    import importedMentionEntityStrategy from './importedMentionEntityStrategy';
    import addImportedMention from './modifiers/addImportedMention';

    const createImportedMentionPlugin = () => ({
      decorators: [
        {
          strategy: importedMentionEntityStrategy,
          component: ImportedMention,
        },
      ],
    });

    export default createImportedMentionPlugin;
    export { addImportedMention };