smart-compose-react
TypeScript icon, indicating that this package has built-in type declarations

0.1.3 • Public • Published

SmartCompose

输入字符可以智能提醒,按一下 Tab 键位就可以快速输入智能提醒内容

  npm i smart-compose-react

使用

import { SmartCompose } from 'smart-compose-react'
<SmartCompose
  onChange={(value) => {
    getTip(value)
  }}
  suggestion={suggestion}
  sugStyle={yourStyle}
>
  <Fragment>
    <div contentEditable suppressContentEditableWarning>
      content
    </div>

    <textarea name="textarea1" cols={30} rows={10}></textarea>
    <CustomEditor />
  </Fragment>
</SmartCompose>

Package Sidebar

Install

npm i smart-compose-react

Weekly Downloads

0

Version

0.1.3

License

none

Unpacked Size

44.9 kB

Total Files

9

Last publish

Collaborators

  • necaral