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

    7x

     import Hashtag from './Hashtag';
    import hashtagStrategy, { HASHTAG_REGEX } from './hashtagStrategy';

    const createHashtagPlugin = () => ({
      decorators: [
        {
          strategy: hashtagStrategy,
          component: Hashtag,
        },
      ],
    });

    export default createHashtagPlugin;
    export { HASHTAG_REGEX };