mirror of
https://github.com/aleleba/chartjs-2-react.git
synced 2025-06-20 05:48:19 -06:00
Se soluciona el problema de que existan varios RadialGauge en el mismo componente agregandoles un id único.
Se sube a version 1.0.10 Se sube a GitHub 1.0.10 Se sube a NPM 1.0.10
This commit is contained in:
@ -5,9 +5,13 @@ import { RadialGauge } from 'chartjs-2-react'
|
||||
export default class App extends Component {
|
||||
render () {
|
||||
return (
|
||||
<div style={{maxWidth: '600px', marginTop: '25px'}}>
|
||||
<h3 style={{textAlign: 'center'}}>RadialGauge Component:</h3>
|
||||
<RadialGauge />
|
||||
<div>
|
||||
|
||||
<div style={{maxWidth: '600px', marginTop: '25px'}}>
|
||||
<h3 style={{textAlign: 'center'}}>RadialGauge Component:</h3>
|
||||
<RadialGauge />
|
||||
</div>
|
||||
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
Reference in New Issue
Block a user