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

feat(Alert): add icon & avatar slots #1401

Merged
merged 11 commits into from
Mar 13, 2024

Conversation

zoobzio
Copy link
Contributor

@zoobzio zoobzio commented Feb 22, 2024

πŸ”— Linked issue

Resolves #1271

❓ Type of change

  • πŸ“– Documentation (updates to the documentation or readme)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • πŸ‘Œ Enhancement (improving an existing functionality)
  • ✨ New feature (a non-breaking change that adds functionality)
  • 🧹 Chore (updates to the build process or auxiliary tools and libraries)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

πŸ“š Description

Add two new slots to the UAlert component that allows a user to customize the rendered icon & avatar options.

Each slot accepts relevant props & UI styles as arguments which can be passed to whatever component is dropped within the slot.

πŸ“ Checklist

  • I have linked an issue or discussion.
  • I have updated the documentation accordingly.

@benjamincanac benjamincanac changed the title feat(UAlert): add icon & avatar slots feat(Alert): add icon & avatar slots Feb 22, 2024
@benjamincanac benjamincanac merged commit cee3e12 into nuxt:dev Mar 13, 2024
1 of 2 checks passed
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.

Expose more slots on UAlert
3 participants