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 UsaHeroCallout component #41

Closed
Tracked by #40
patrickcate opened this issue Oct 30, 2021 · 0 comments
Closed
Tracked by #40

Implement UsaHeroCallout component #41

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

Comments

@patrickcate
Copy link
Owner

patrickcate commented Oct 30, 2021

Hero Callout

Text content for the hero component.

Props

Name Type Default Required Options
heading String '' false n/a

Slots

  • default
  • heading

CSS Classes

  • None

External Libraries

  • None

Sub-Components

  • None

Dependencies

  • None

Notes

  • None

Tests

  1. The default slot content rendered correctly.
  2. When the heading prop is used, the text is added as the callout heading.
  3. When the heading slot is used, the content is added as the callout heading.
  4. When the heading prop and slot are both used, the heading slot will override the heading prop.
@patrickcate patrickcate changed the title UsaHeroCallout Implement UsaHeroCallout component Oct 30, 2021
@patrickcate patrickcate added the feature New feature or request label Nov 11, 2021
@patrickcate patrickcate self-assigned this Nov 23, 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