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

Implement UsaNavSubmenuItem component #92

Closed
Tracked by #91
patrickcate opened this issue Oct 31, 2021 · 0 comments
Closed
Tracked by #91

Implement UsaNavSubmenuItem component #92

patrickcate opened this issue Oct 31, 2021 · 0 comments
Assignees
Labels
feature New feature or request

Comments

@patrickcate
Copy link
Owner

patrickcate commented Oct 31, 2021

Nav Submenu Item

Individual submenu item for UsaNavSubmenu component.

Props

Name Type Default Required Options
href String '' false n/a
to [String, Object] '' false n/a
name String '' false n/a
params Object {} false n/a
text String '' false n/a

Slots

  • default: scoped to all props

CSS Classes

  • None

External Libraries

  • None

Sub-Components

  • None

Dependencies

  • BaseLink

Notes

  • None

Tests

  1. The default content renders correctly.
  2. If a link matches the current route, the CSS class usa-current is applied.
@patrickcate patrickcate changed the title UsaNavSubmenuItem Implement UsaNavSubmenuItem component Oct 31, 2021
@patrickcate patrickcate added the feature New feature or request label Nov 11, 2021
@patrickcate patrickcate self-assigned this Dec 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant