Skip to content
This repository has been archived by the owner on Aug 13, 2023. It is now read-only.

Optimise Navigation direction prop #2117

Merged
merged 12 commits into from
Sep 16, 2019
Merged

Optimise Navigation direction prop #2117

merged 12 commits into from
Sep 16, 2019

Conversation

DenisHdz
Copy link
Contributor

Resolves #NaN

Overall change:
Refactor Navigation to pass the dir prop to the main wrapper to avoid adding it to every link.

Code changes:

  • Target the StyledListItem from the StyledNav and modify the CSS depending on the direction.
  • Pass dir prop to the Navigation in the story.
  • Update snapshots

  • I have assigned myself to this PR and the corresponding issues
  • Automated (jest and/or cypress) tests added (for new features) or updated (for existing features)
  • This PR requires manual testing

@DenisHdz DenisHdz added the ws-home Tasks for the WS Home Team label Sep 12, 2019
@DenisHdz DenisHdz self-assigned this Sep 12, 2019
@DenisHdz DenisHdz changed the title Optimize Navigation direction Optimise Navigation direction prop Sep 12, 2019
@DenisHdz DenisHdz mentioned this pull request Sep 13, 2019
1 task
Copy link

@ghost ghost left a comment

Choose a reason for hiding this comment

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

@paruchurisilpa
Copy link
Contributor

Looks good to me..

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
ws-home Tasks for the WS Home Team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants