ink-select-input:选择墨水的输入组件

时间:2021-05-10 03:19:02
【文件属性】:
文件名称:ink-select-input:选择墨水的输入组件
文件大小:105KB
文件格式:ZIP
更新时间:2021-05-10 03:19:02
JavaScript 墨水选择输入 选择输入组件 寻找与Ink 2.x兼容的版本吗? 查看。 安装 $ npm install ink-select-input 用法 import React from 'react' ; import { render } from 'ink' ; import SelectInput from 'ink-select-input' ; const Demo = ( ) => { const handleSelect = item => { // `item` = { label: 'First', value: 'first' } } ; const items = [ { label : 'First' , value : 'first' } , { label : 'Second' , value : 'second'
【文件预览】:
ink-select-input-master
----.gitignore(29B)
----tsconfig.json(130B)
----.github()
--------workflows()
----.gitattributes(29B)
----package.json(2KB)
----src()
--------Indicator.tsx(378B)
--------SelectInput.tsx(5KB)
--------Item.tsx(303B)
--------index.ts(205B)
--------@types()
----readme.md(2KB)
----media()
--------demo.gif(101KB)
----test.js(12KB)
----.editorconfig(175B)
----license(1KB)
----.npmrc(19B)

网友评论