Skip to content

Commit 72c4432

Browse files
author
Jeffrey Na
committed
comments to AwsChart/EventChart/HealthChart
1 parent 1badfa1 commit 72c4432

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

app/charts/AwsChart.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ interface SoloStyles {
2020

2121
/**
2222
* @params props - the props object containing relevant data.
23-
* @desc Memoized component to generate an AWS chart with formatted data.
23+
* @desc Handles AWS Charts. Memoized component to generate an AWS chart with formatted data.
2424
* @returns {JSX.Element} The JSX element with the AWS chart.
2525
*/
2626
const AwsChart: React.FC<any> = React.memo(props => {

app/charts/EventChart.tsx

+3-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,9 @@ type PlotlyData = {
2929
};
3030

3131
/**
32-
* @desc
32+
* @params {EventChartProps} props - the props object containing relevant data.
33+
* @desc Handles k8s metrics. Memoized component to generate event chart with formatted data
34+
* @returns {JSX.Element} The JSX element with the event chart.
3335
*/
3436
const EventChart: React.FC<EventChartProps> = React.memo(props => {
3537
const { metricName, chartData, sizing, colourGenerator } = props;

app/charts/HealthChart.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ type PlotlyData = {
2727

2828
/**
2929
* @params {HealthChartProps} props - the props object containing relevant data.
30-
* @desc Memoized component to generate a health chart with formatted data.
30+
* @desc Handles microservices metrics. Memoized component to generate a health chart with formatted data.
3131
* @returns {JSX.Element} The JSX element with the health chart.
3232
*/
3333
const HealthChart: React.FC<HealthChartProps> = React.memo(props => {

0 commit comments

Comments
 (0)