文件名称:draft-js-checkable-list-plugin:Draft.js的可检查列表插件
文件大小:91KB
文件格式:ZIP
更新时间:2024-06-06 12:41:46
react draft-js draft-js-plugins JavaScript
草稿js可检查列表插件 列表项插件。 yarn add draft-js-checkable-list-plugin 用法 例子 import React , { Component } from 'react' import { EditorState } from 'draft-js' import Editor from 'draft-js-plugins-editor' import createCheckableListPlugin from 'draft-js-checkable-list-plugin' import 'draft-js-checkable-list-plugin/lib/plugin.css' const checkableListPlugin = createCheckableListPlugin ( ) const plugins = [ chec
【文件预览】:
draft-js-checkable-list-plugin-master
----.gitignore(66B)
----.babelrc(754B)
----.flowconfig(667B)
----.eslintrc(554B)
----flow()
--------stub()
----package.json(4KB)
----src()
--------blockStyleFn.js(296B)
--------Button()
--------createOnTab.js(560B)
--------index.js(2KB)
--------types()
--------createBlockRenderMap.js(474B)
--------Button.styl(443B)
--------createBlockRendererFn.js(783B)
----webpack.config.js(2KB)
----README.md(2KB)
----example()
--------index.js(411B)
--------App.js(873B)
--------App.styl(760B)
--------DemoEditor.js(2KB)
--------example-code.js(709B)
----config()
--------configure-enzyme.js(120B)
----.node-version(6B)
----.circleci()
--------config.yml(1KB)
----test()
--------helpers.js(508B)
--------Button()
--------createBlockRenderMap-test.js(898B)
--------index-test.js(772B)
--------__mocks__()
--------createBlockRendererFn-test.js(939B)
--------blockStyleFn-test.js(625B)
--------createOnTab-test.js(874B)
----yarn.lock(270KB)