Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Navbar, and Primary nav #137

Draft
wants to merge 3 commits into
base: 2.x
Choose a base branch
from
Draft

Navbar, and Primary nav #137

wants to merge 3 commits into from

Conversation

alexiscott
Copy link
Contributor

No description provided.

<ul className="usa-nav__primary usa-accordion">
{items.map((item, index) => (
<li key={index} className="usa-nav__primary-item">
<a href={item.url}>{item.label}</a>
Copy link
Contributor Author

@alexiscott alexiscott Mar 9, 2021

Choose a reason for hiding this comment

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

Hi @dgading
I tried adding

 <DynamicLink
   key={index}
   url={item.url}
   content={item.label} />

But got an error relating to the urlValidator. Any ideas?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant