Skip to content

Create color-changing function at a higher level and pass as prop #2

@spark-c

Description

@spark-c

There are now two components (SectionButton and ProjectCard) using identical functions for "color" state. Needs a small refactor, probably to place this in App.js and pass it down as a prop instead. probably just creating a small utilities.js file and importing it from there when needed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions