Skip to content

Added styling to ItemTable to display what row is currently selected #107

Merged
merged 3 commits into from
Nov 3, 2020

Conversation

wrigh393
Copy link
Collaborator

@wrigh393 wrigh393 commented Nov 2, 2020

No description provided.

Copy link
Collaborator

@campb303 campb303 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've made some minor changes for readability that include:

  • Moving the selectedRow state variable to the top of the component declaration for consistency across components.
  • Used the isSelected variable per TableRow as the logic for the selected prop instead of duplicating the logic.

I'll merge this in now.

@campb303 campb303 merged commit 52cd04e into staging Nov 3, 2020
@campb303 campb303 deleted the enhancement-selected-row-styling branch November 3, 2020 01:55
Sign in to join this conversation on GitHub.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants