Commit bf6c74b7 authored by 李纪文's avatar 李纪文

fix: echarts图表

parent 1c029554
import React, { useEffect, useMemo } from 'react';
import React, { useMemo } from 'react';
import { ConfigProvider } from 'antd';
import classNames from 'classnames';
import ReactEcharts from 'echarts-for-react';
......
......@@ -5,7 +5,7 @@
## Usage
```
const selectCustom = require('@wisdom-components/SelectCustom');
const { SelectCustom, TreeSelectCustom, Option, OptGroup, SHOW_PARENT } = require('@wisdom-components/selectcustom');
// TODO: DEMONSTRATE API
```
......@@ -29,6 +29,7 @@ const SelectCustom = (props) => {
const TreeSelectCustom = (props) => {
const { getPrefixCls } = useContext(ConfigProvider.ConfigContext);
const prefixCls = getPrefixCls('tree-select-custom');
return (
<TreeSelect {...props} className={classNames(`${prefixCls}-base`, props.className || '')} />
);
......
......@@ -5,7 +5,7 @@
## Usage
```
const treeCustom = require('@wisdom-components/TreeCustom');
const TreeCustom = require('@wisdom-components/treecustom');
// TODO: DEMONSTRATE API
```
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment