Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

bee-cascader

Package Overview
Dependencies
Maintainers
4
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bee-cascader - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

2

demo/index.js

@@ -13,3 +13,3 @@ import {Col, Row} from 'bee-layout';

var Demo1 = require("./demolist/Demo1");var DemoArray = [{"example":<Demo1 />,"title":" 基础级联菜单","code":"/**\r\n *\r\n * @title 基础级联菜单\r\n * @description\r\n *\r\n */\r\n\r\nimport React, { Component } from 'react';\r\n\nimport { Cascader, Row, Col } from 'tinper-bee';\r\n\r\n const options = [\r\n \t{\r\n \t value: '浙江',\r\n \t children: [\r\n \t\t {\r\n \t\t value: '杭州',\r\n \t\t children: [\r\n \t\t\t {\r\n \t\t\t value: '西湖',\r\n \t\t\t children: [\r\n \t\t\t\t {\r\n \t\t\t\t value: '白娘子'\r\n \t\t\t\t },\r\n \t\t\t\t {\r\n \t\t\t\t value: '许仙'\r\n \t\t\t\t }]\r\n \t\t\t }]\r\n \t\t }\r\n \t ]\r\n \t},\r\n \t{\r\n \t value: '江苏',\r\n \t children: [\r\n \t\t {\r\n \t\t value: '南京',\r\n \t\t children: [\r\n \t\t\t {\r\n \t\t\t value: '中华门'\r\n \t\t\t }]\r\n \t\t }\r\n \t ]\r\n \t},\r\n \t{\r\n \t value: '山东'\r\n \t}\r\n ];\r\n class Demo1 extends Component {\r\n\r\n\r\n\tonClickHandler=(data)=>{\r\n\t\tconsole.log(\"data: \",data);\r\n\t}\r\n\r\n \trender(){\r\n \t\treturn(\r\n <Row>\r\n <Col md={4}>\r\n <div className=\"height-150\">\r\n \t<Cascader options = {options} onClick={this.onClickHandler}/>\r\n </div>\r\n </Col>\r\n </Row>\r\n \t\t)\r\n \t}\r\n }\r\n","desc":""}]
var Demo1 = require("./demolist/Demo1");var DemoArray = [{"example":<Demo1 />,"title":" 基础级联菜单","code":"/**\n *\n * @title 基础级联菜单\n * @description\n *\n */\n\nimport React, { Component } from 'react';\nimport { Cascader, Row, Col } from 'tinper-bee';\n\n const options = [\n \t{\n \t value: '浙江',\n \t children: [\n \t\t {\n \t\t value: '杭州',\n \t\t children: [\n \t\t\t {\n \t\t\t value: '西湖',\n \t\t\t children: [\n \t\t\t\t {\n \t\t\t\t value: '白娘子'\n \t\t\t\t },\n \t\t\t\t {\n \t\t\t\t value: '许仙'\n \t\t\t\t }]\n \t\t\t }]\n \t\t }\n \t ]\n \t},\n \t{\n \t value: '江苏',\n \t children: [\n \t\t {\n \t\t value: '南京',\n \t\t children: [\n \t\t\t {\n \t\t\t value: '中华门'\n \t\t\t }]\n \t\t }\n \t ]\n \t},\n \t{\n \t value: '山东'\n \t}\n ];\n class Demo1 extends Component {\n\n\n\tonClickHandler=(data)=>{\n\t\tconsole.log(\"data: \",data);\n\t}\n\n \trender(){\n \t\treturn(\n <Row>\n <Col md={4}>\n <div className=\"height-150\">\n \t<Cascader options = {options} onClick={this.onClickHandler}/>\n </div>\n </Col>\n </Row>\n \t\t)\n \t}\n }\n","desc":""}]

@@ -16,0 +16,0 @@

{
"name": "bee-cascader",
"version": "2.0.0",
"version": "2.0.1",
"description": "Cascader ui component for react",

@@ -40,3 +40,3 @@ "keywords": [

"classnames": "^2.2.5",
"tinper-bee-core": "latest"
"tinper-bee-core": "^2.0.13"
},

@@ -61,2 +61,2 @@ "peerDependencies": {

}
}
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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