react-autosuggestions:可访问的React组件可以减轻创建自动建议组件的麻烦

时间:2024-05-23 14:04:04
【文件属性】:

文件名称:react-autosuggestions:可访问的React组件可以减轻创建自动建议组件的麻烦

文件大小:109KB

文件格式:ZIP

更新时间:2024-05-23 14:04:04

react accessibility autosuggest JavaScript

React自动建议 可访问的React组件可以减轻创建自动建议组件的麻烦 用法: import React from 'react'; import { AutoSuggest } from 'react-autosuggestions'; const ExampleServer = () => { const [make, setMake] = React.useState(); const handleSubmit = (e) => { e.preventDefault(); alert(`The make selected was ${make}`) } return ( <form onSubmit={handleSubmit}> <AutoSuggest


【文件预览】:
react-autosuggestions-main
----.github()
--------ISSUE_TEMPLATE()
----webpack.config.js(1KB)
----src()
--------utils()
--------index.css(265B)
--------components()
--------index.js(83B)
----babel.config.js(130B)
----LICENSE(1KB)
----README.md(9KB)
----dist()
--------AutoSuggest.js(17KB)
----prettier.config.js(85B)
----tests()
--------customQueries.js(997B)
--------AutoSuggestOptions.test.js(8KB)
--------AutoSuggestContainer.test.js(2KB)
--------AutoSuggestServer.test.js(27KB)
--------test-utils.js(343B)
--------alphanumericSort.test.js(5KB)
--------AutoSuggest.test.js(40KB)
----.gitignore(310B)
----package-lock.json(331KB)
----package.json(1KB)

网友评论