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 UsaTag component #1

Closed
patrickcate opened this issue Oct 5, 2021 · 0 comments
Closed

Implement UsaTag component #1

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

Comments

@patrickcate
Copy link
Owner

patrickcate commented Oct 5, 2021

Tag

A tag draws attention to new or categorized content elements.

Props

Name Type Default Required Options
size String '' false big
tag String 'span' false n/a

Slots

  • default

CSS Classes

  • big: usa-tag--big

External Libraries

  • None

Sub-Components

  • None

Notes

  • None

Tests

  1. When the size prop value is big, the correct CSS class usa-tag--big is applied.
  2. When a custom tag prop value is used, the component renders as that HTML element.
  3. When the tag prop is not used, the component renders as that <span> HTML element by default.
@patrickcate patrickcate changed the title Tag Component Implement Tag Component Oct 6, 2021
@patrickcate patrickcate changed the title Implement Tag Component Implement UsaTag Component Oct 30, 2021
@patrickcate patrickcate changed the title Implement UsaTag Component Implement UsaTag component Oct 30, 2021
@patrickcate patrickcate added the feature New feature or request label Nov 11, 2021
@patrickcate patrickcate self-assigned this Nov 11, 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