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(Tabs): handle icon in items #1798

Merged
merged 10 commits into from
Jul 23, 2024

Conversation

abeldotam
Copy link

πŸ”— Linked issue

Resolve #1513

❓ 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

Adding an icon slot to the UTabs component, allowing user to making simpler for basic usecase and customizable for advance.

πŸ“ Checklist

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

--

(Thanks @noook for showing/assigning me this issue 🫢)

@benjamincanac benjamincanac changed the title feat(UTabs): Add icon slot feat(Tabs): add icon slot Jun 3, 2024
@benjamincanac benjamincanac changed the title feat(Tabs): add icon slot feat(Tabs): handle icon Jun 3, 2024
@benjamincanac benjamincanac changed the title feat(Tabs): handle icon feat(Tabs): handle icon in items Jun 3, 2024
Copy link
Member

@benjamincanac benjamincanac left a comment

Choose a reason for hiding this comment

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

Sorry for the delay!

Would you mind adding the icon property to the items at the beginning of the docs? https://github.com/nuxt/ui/pull/1798/files#diff-df0c0c0e8a1f3de6219cf222e8e76c43174704646ec5277dbe9801d9f9a5d6b4R13

Might be worth adding an icons to each examples like you did for the slot 😊

@benjamincanac
Copy link
Member

Could you also fix the lint?

@benjamincanac benjamincanac merged commit e8eb394 into nuxt:dev Jul 23, 2024
1 of 2 checks passed
binhtranhuu pushed a commit to binhtranhuu/nuxt-ui that referenced this pull request Jul 28, 2024
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.

UTabs default icon field
2 participants