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

Create Tag component #17

Merged
merged 6 commits into from
Oct 28, 2024

Conversation

tingtingtingtingtingtingtingtingtingtin
Copy link
Collaborator

image

box width is hard coded if thats ok

return <div className={`${mappings[children]}`}>{children}</div>;
return (
<div
className={`${mappings[children]} m-1 w-32 rounded-md p-1.5 text-center font-semibold text-white`}
Copy link
Contributor

Choose a reason for hiding this comment

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

width shouldn't be hard coded

Copy link
Contributor

Choose a reason for hiding this comment

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

margin should be handled by parent component

@tingtingtingtingtingtingtingtingtingtin
Copy link
Collaborator Author

image

is w-1/12 cool

@shahdivyank shahdivyank merged commit 0dce829 into dev Oct 28, 2024
5 checks passed
@shahdivyank shahdivyank deleted the tingtingtingtingtingtingtingtingtingtin/tag-text branch October 28, 2024 23:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Create Tag Components
2 participants