File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Expand file tree Collapse file tree 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"/>
138138const CChartRadar = props => < CChart { ...props } type = "radar" />
139139const CChartPie = props => < CChart { ...props } type = "pie" />
140140const 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+ }
141147
142148export {
143149 CChart ,
150+ CCharts ,
144151 CChartBar ,
145152 CChartHorizontalBar ,
146153 CChartLine ,
Original file line number Diff line number Diff line change 11import {
22 CChart ,
3+ CCharts ,
34 CChartBar ,
45 CChartHorizontalBar ,
56 CChartLine ,
@@ -11,6 +12,7 @@ import {
1112
1213export {
1314 CChart ,
15+ CCharts ,
1416 CChartBar ,
1517 CChartHorizontalBar ,
1618 CChartLine ,
You can’t perform that action at this time.
0 commit comments