@draft-js-modules/hashtag
v0.1.0 draftjs editor react richtext modules hashtag
@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]
npm i @draft-js-modules/hashtag
Metadata
- MIT
- Whatever
- MunifTanjim
- released 8/5/2019