Build a component that allows switching between graphs based on the term number.
Very very rough figma:
There would be six buttons (one for each term) and it would allow switching between them.
It would be designed to be used inside the ComponentWrapper component.
It would would two props at least:
- a list of string, which are the button names: buttonList : [String] , for example ["1A", "2A", "3A"]
- A list of React Elements, which are the differnt graphs for each button, graphList : [React.element]
Build a component that allows switching between graphs based on the term number.
Very very rough figma:

There would be six buttons (one for each term) and it would allow switching between them.
It would be designed to be used inside the ComponentWrapper component.
It would would two props at least:
- a list of string, which are the button names: buttonList : [String] , for example ["1A", "2A", "3A"]
- A list of React Elements, which are the differnt graphs for each button, graphList : [React.element]
Build a component that allows switching between graphs based on the term number.
Very very rough figma:
There would be six buttons (one for each term) and it would allow switching between them.
It would be designed to be used inside the ComponentWrapper component.
It would would two props at least:
- a list of string, which are the button names: buttonList : [String] , for example ["1A", "2A", "3A"]
- A list of React Elements, which are the differnt graphs for each button, graphList : [React.element]