New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

bee-form-control

Package Overview
Dependencies
Maintainers
1
Versions
77
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bee-form-control - npm Package Compare versions

Comparing version 0.1.4 to 0.1.5

2

demo/demolist/Demo1.js
/**
* @title
* @title 常用 Input
* @description

@@ -4,0 +4,0 @@ */

/**
* @title
* @description
* @title Input 数据响应实例
* @description
*/

@@ -5,0 +5,0 @@ class Demo2 extends Component {

@@ -16,3 +16,3 @@

/**
* @title
* @title 常用 Input
* @description

@@ -29,4 +29,4 @@ */

}/**
* @title
* @description
* @title Input 数据响应实例
* @description
*/

@@ -57,3 +57,3 @@ class Demo2 extends Component {

}var DemoArray = [{"example":<Demo1 />,"title":" ","code":"/**\n * @title \n * @description \n */\nclass Demo1 extends Component {\n\trender () {\n\t\treturn (\n\t\t\t<div className=\"demo-form-control\">\n\t \t<FormControl placeholder=\"Enter text\"/>\t\t\t\n\t </div>\n\t\t)\n\t}\n}","desc":" "},{"example":<Demo2 />,"title":" ","code":"/**\n * @title \n * @description \n */\nclass Demo2 extends Component {\n\tconstructor(props) {\n\t\tsuper(props);\n\t\tthis.HanderChange = this.HanderChange.bind(this);\n\t\tthis.state = {\n\t\t\tvalue: 'test'\n\t\t}\n\t}\n\tHanderChange () {\n\t\tlet value = ReactDOM.findDOMNode(this.refs.demo2).value;\n\t\t\n\t\tthis.setState ({value: value});\n\t}\n\trender(){\n\t\treturn( \n\t\t\t<div className=\"demo-form-control\">\n\n\t\t\t\t<FormControl ref='demo2' defaultValue='test' onChange={this.HanderChange} /> \n\n\t\t\t\t<span>{this.state.value}</span>\n </div>\n )\n\t}\n\n}","desc":" "}]
}var DemoArray = [{"example":<Demo1 />,"title":" 常用 Input","code":"/**\n * @title 常用 Input\n * @description \n */\nclass Demo1 extends Component {\n\trender () {\n\t\treturn (\n\t\t\t<div className=\"demo-form-control\">\n\t \t<FormControl placeholder=\"Enter text\"/>\t\t\t\n\t </div>\n\t\t)\n\t}\n}","desc":" "},{"example":<Demo2 />,"title":" Input 数据响应实例","code":"/**\n * @title Input 数据响应实例\n * @description \n */\nclass Demo2 extends Component {\n\tconstructor(props) {\n\t\tsuper(props);\n\t\tthis.HanderChange = this.HanderChange.bind(this);\n\t\tthis.state = {\n\t\t\tvalue: 'test'\n\t\t}\n\t}\n\tHanderChange () {\n\t\tlet value = ReactDOM.findDOMNode(this.refs.demo2).value;\n\t\t\n\t\tthis.setState ({value: value});\n\t}\n\trender(){\n\t\treturn( \n\t\t\t<div className=\"demo-form-control\">\n\n\t\t\t\t<FormControl ref='demo2' defaultValue='test' onChange={this.HanderChange} /> \n\n\t\t\t\t<span>{this.state.value}</span>\n </div>\n )\n\t}\n\n}","desc":" "}]

@@ -60,0 +60,0 @@

@@ -1,4 +0,4 @@

## Checkbox
## FormControl
从选中选择多个值
用 `<FormControl>` 来代替 `<input>`, `<textarea>`

@@ -12,6 +12,5 @@ ## 代码演示

|className|类名|string|-|
|color|one of: `primary` `success` `info` `error` `warning` `dark`|string|''|
|disabled|是否可用|bool|false|
|type|类型(`text` `submit`,'checkbox',...详情http://www.w3school.com.cn/html5/att_input_type.asp)|string|'input'|
{
"name": "bee-form-control",
"version": "0.1.4",
"version": "0.1.5",
"description": "form-control ui component for react",

@@ -5,0 +5,0 @@ "keywords": [

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc