Component that allows switching between graphs based on term (ComponentSwitcher) #142

Closed
opened 2 months ago by snedadah · 0 comments
Owner

Build a component that allows switching between graphs based on the term number.

Very very rough figma:

image

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: ![image](/attachments/62e959c6-a7dd-47b8-bdc6-061f89c7a000) 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]
r2shuai self-assigned this 2 months ago
r2shuai referenced this issue from a commit 2 months ago
snedadah closed this issue 2 months ago
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: www/cs-2022-class-profile#142
Loading…
There is no content yet.