-
Notifications
You must be signed in to change notification settings - Fork 93
refactor: Migrate NcButton
from render function to template
#6033
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
Conversation
e8fd644
to
1b5c7b5
Compare
ab9aed0
to
04e0282
Compare
NcButton
NcButton
from render function to template
04e0282
to
c0dd0de
Compare
541f542
to
228fb39
Compare
228fb39
to
562a8b7
Compare
8c2283e
to
f9979b9
Compare
f9979b9
to
17607b3
Compare
With a force push instead of a |
17607b3
to
82afb37
Compare
Sorry 🙈 Nevertheless this PR needs this backport first: #6595 |
db74553
to
049b475
Compare
Rebased to fix merge conflicts - no code changes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left some nitpicks at your discretion. Looks fine overall.
1. Make it a template component instead of a render function 2. Add a `text` prop to allow passing text content as prop 3. Add `noIconAriaHidden` to allow making the icon appear on the accessible tree Co-authored-by: Ferdinand Thiessen <[email protected]> Co-authored-by: Grigorii K. Shartsev <[email protected]> Signed-off-by: Ferdinand Thiessen <[email protected]>
ce03cb3
to
2c92c40
Compare
☑️ Resolves
text
prop to allow passing text content as propnoIconAriaHidden
to allow making the icon appear on the accessible tree🏁 Checklist
next
requested with a Vue 3 upgrade