
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
bee-form-control
Advanced tools
用 <FormControl>
来代替 <input>
, <textarea>
, and <select>
$ git clone https://github.com/tinper-bee/bee-form-control
$ cd bee-form-control
$ npm install
$ npm run dev
使用单独的bee-form-control包
先进行下载form-control包
npm install --save bee-form-control
组件调用
import { form-control } from 'bee-form-control';
React.render(<div>
<div>
<form-control />
<br>
<form-control placeholder="input placeholder" defaultValue="default value" />
<br/>
<form-control type="checkbox" />
</div>
</div>, document.getElementById('target'));
<link rel="stylesheet" href="./node_modules/build/bee-form-control.css">
import "./node_modules/src/form-control.scss"
//或是
import "./node_modules/build/bee-form-control.css"
参数 | 说明 | 类型 | 默认值 |
---|---|---|---|
id | form-control id | string | '' |
type | 类型(text submit ,'checkbox',...详情http://www.w3school.com.cn/html5/att_input_type.asp) | string | 'input' |
FAQs
form-control ui component for react
The npm package bee-form-control receives a total of 194 weekly downloads. As such, bee-form-control popularity was classified as not popular.
We found that bee-form-control demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 17 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.