react-cascader-antd
v2.0.13
Published
```js npm i react-cascader-antd
Downloads
5
Readme
react-cascader-antd
使用
npm i react-cascader-antd
import ReactCascaderTransfer from 'react-cascader-antd'
import city from 'react-cascader-antd/src/config/city'
const handleOnchange = (selected, value) => {
console.log(selected, value)
}
<ReactCascaderTransfer dataSource={city} titles={['省级', '市级']} value={['11', '81', '321000', '320100', '120103', '513300']} onChange={handleOnchange}/>
clone到本地运行
npm install
npm start