File tree 2 files changed +9
-0
lines changed
2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -138,9 +138,16 @@ const CChartDoughnut = props => <CChart {...props} type="doughnut"/>
138
138
const CChartRadar = props => < CChart { ...props } type = "radar" />
139
139
const CChartPie = props => < CChart { ...props } type = "pie" />
140
140
const CChartPolarArea = props => < CChart { ...props } type = "polarArea" />
141
+ const CCharts = props => {
142
+ console . warn (
143
+ '<CCharts> component has been deprecated. Use <CChart> or <CChart*> instead'
144
+ )
145
+ return < CChart { ...props } />
146
+ }
141
147
142
148
export {
143
149
CChart ,
150
+ CCharts ,
144
151
CChartBar ,
145
152
CChartHorizontalBar ,
146
153
CChartLine ,
Original file line number Diff line number Diff line change 1
1
import {
2
2
CChart ,
3
+ CCharts ,
3
4
CChartBar ,
4
5
CChartHorizontalBar ,
5
6
CChartLine ,
@@ -11,6 +12,7 @@ import {
11
12
12
13
export {
13
14
CChart ,
15
+ CCharts ,
14
16
CChartBar ,
15
17
CChartHorizontalBar ,
16
18
CChartLine ,
You can’t perform that action at this time.
0 commit comments