【文件属性】:
文件名称:react-tagged:一个简约的React标签组件
文件大小:169KB
文件格式:ZIP
更新时间:2021-05-17 05:23:50
TypeScript
React标记
一个简约的React标签组件
特征
:floppy_disk: 1.2KB压缩文件
:battery: 包含TypeScript声明
:keyboard: 键盘快捷键(使用箭头选择建议等)
:smiling_face_with_heart-eyes: 通过CSS完全可定制的外观(包括动画)
安装
npm install --save react-tagged
# or
yarn add react-tagged
用法
import { Tagged } from 'react-tagged'
import 'react-tagged/dist/index.css' // styles
< Tagged
initialTags = { [ ] } // initial tags (array of strings)
suggestions = { [ ] } // sug
【文件预览】:
react-tagged-master
----.gitignore(18B)
----preview.gif(73KB)
----package.json(1KB)
----package-lock.json(357KB)
----src()
--------Tag.tsx(1KB)
--------__tests__()
--------index.ts(75B)
--------utils.ts(745B)
--------style.scss(2KB)
--------Tagged.tsx(4KB)
----jest.config.js(225B)
----LICENSE(1KB)
----rollup.config.examples.js(462B)
----tsconfig.json(374B)
----.github()
--------workflows()
----rollup.config.js(382B)
----examples()
--------index.html(1KB)
--------index.tsx(3KB)
--------examples.scss(119B)
----README.md(3KB)
----.prettierrc(96B)