@draft-js-modules/hashtag
TypeScript icon, indicating that this package has built-in type declarations

0.1.0 • Public • Published

@draft-js-modules/hashtag

Installation

# using npm:
npm install --save @draft-js-modules/hashtag

# using yarn:
yarn add @draft-js-modules/hashtag

Usage

import { getHashtagModule } from '@draft-js-modules/hashtag'

const HashtagModule = getHashtagModule({
  Component: ({ children }) => {
    return (
      <span style={{ color: 'rebeccapurple' }}>
        {children}
      </span>
    )
  }
})

const modules = [HashtagModule]

/@draft-js-modules/hashtag/

    Package Sidebar

    Install

    npm i @draft-js-modules/hashtag

    Weekly Downloads

    1

    Version

    0.1.0

    License

    MIT

    Unpacked Size

    43.9 kB

    Total Files

    10

    Last publish

    Collaborators

    • muniftanjim