# All files / composer/utils/draft-js-custom-plugins/prepopulated-autocomplete-hashtag 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
    17

    7x

     import PrepopulatedHashtag from './PrepopulatedHashtag';
    import prepopulatedHashtagStrategy from './prepopulatedHashtagStrategy';
    import prepopulatedHashtagEntityStrategy from './prepopulatedHashtagEntityStrategy';
    import addPrepopulatedHashtag from './modifiers/addPrepopulatedHashtag';

    const createPrepopulatedHashtagPlugin = () => ({
      decorators: [
        {
          strategy: prepopulatedHashtagEntityStrategy,
          component: PrepopulatedHashtag,
        },
      ],
    });

    export default createPrepopulatedHashtagPlugin;
    export { prepopulatedHashtagStrategy, addPrepopulatedHashtag };