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

Add sizes for tags #1065

Merged
merged 3 commits into from
Dec 20, 2023
Merged

Add sizes for tags #1065

merged 3 commits into from
Dec 20, 2023

Conversation

collincchoy
Copy link
Contributor

@collincchoy collincchoy commented Dec 20, 2023

image

Copy link

netlify bot commented Dec 20, 2023

Deploy Preview for prefect-design ready!

Name Link
🔨 Latest commit 37378d3
🔍 Latest deploy log https://app.netlify.com/sites/prefect-design/deploys/65832d4a127d3500081dabe7
😎 Deploy Preview https://deploy-preview-1065--prefect-design.netlify.app/
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@pleek91
Copy link
Collaborator

pleek91 commented Dec 20, 2023

@brandonreid

Copy link
Contributor

@brandonreid brandonreid left a 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!

icon?: Icon,
label?: string,
value?: string | TagValue,
dismissible?: boolean,
}>()
size?: 'xs' | 'sm',
Copy link
Contributor

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.

Copy link
Contributor

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

Copy link
Contributor Author

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

@collincchoy collincchoy merged commit caf1e1f into main Dec 20, 2023
5 checks passed
@collincchoy collincchoy deleted the add-sizes-for-tags branch December 20, 2023 19:14
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.

3 participants