1.0.6 • Published 3 years ago
performance-calculation-bitozen v1.0.6
performance-calculation-bitozen
Install
npm install --save performance-calculation-bitozen
Usage
import React, { Component } from 'react'
import MyComponent from 'performance-calculation-bitozen'
let defaultPayload = [
{
"title": 'TITLE 1',
"data": {
"rows": [
{
"label": "label 1",
"weight": "0%",
"score": "0",
"totalScore": "0"
},
{
"label": "label 2",
"weight": "0%",
"score": "0",
"totalScore": "0"
},
{
"label": "label 3",
"weight": "0%",
"score": "0",
"totalScore": "0"
}
],
"paMidYear": "0",
"gradePerformance": "0"
}
},
{
"title": 'TITLE 2',
"data": {
"rows": [
{
"label": "label 1",
"weight": "0%",
"score": "0",
"totalScore": "0"
},
{
"label": "label 2",
"weight": "0%",
"score": "0",
"totalScore": "0"
},
{
"label": "label 3",
"weight": "0%",
"score": "0",
"totalScore": "0"
}
],
"paMidYear": "0",
"gradePerformance": "0"
}
},
{
"title": 'TITLE 3',
"data": {
"rows": [
{
"label": "label 1",
"weight": "0%",
"score": "0",
"totalScore": "0"
},
{
"label": "label 2",
"weight": "0%",
"score": "0",
"totalScore": "0"
},
{
"label": "label 3",
"weight": "0%",
"score": "0",
"totalScore": "0"
}
],
"paMidYear": "0",
"gradePerformance": "0"
}
}
]
class Example extends Component {
render () {
return (
<MyComponent payload={defaultPayload} />
)
}
}
License
MIT © ganjardbc