-
Notifications
You must be signed in to change notification settings - Fork 11
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
Add sizes for tags #1065
Add sizes for tags #1065
Conversation
collincchoy
commented
Dec 20, 2023
•
edited
Loading
edited
✅ Deploy Preview for prefect-design ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
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.
One comment, otherwise g2g!
src/components/Tag/PTag.vue
Outdated
icon?: Icon, | ||
label?: string, | ||
value?: string | TagValue, | ||
dismissible?: boolean, | ||
}>() | ||
size?: 'xs' | 'sm', |
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.
To be a little more semantically prescriptive, maybe the terms here would be better suited as 'sm' | 'default'
? Or, like buttons, we ended up refactoring to just the default and a bool prop called small
.
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.
I'm like 98.6% sure we'll never add a large
for tags
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.
👍 will shoot for consistency. size -> small?: boolean