-
Notifications
You must be signed in to change notification settings - Fork 7
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
feature/update-label #282
feature/update-label #282
Conversation
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/snowdog/alpaca-ui/h0guqc8z0 |
967c103
to
f63fb8a
Compare
Please check unit test issue |
src/atoms/label/Label.css
Outdated
@@ -0,0 +1,15 @@ | |||
|
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.
remove this empty line. I will add some lint for this file
src/atoms/label/Label.js
Outdated
@@ -2,7 +2,7 @@ | |||
export default { | |||
props: { | |||
/** | |||
* Label tag | |||
* To use another tag instead of 'label' | |||
*/ | |||
tag: { |
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.
IMO custom tag is unnecessary, WDYT is there any use case for custom tag?
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.
not really, I'll change component to label
src/atoms/label/Label.vue
Outdated
@@ -10,4 +10,4 @@ export default { | |||
} | |||
</script> | |||
|
|||
<style lang="scss" src="./Label.scss" /> | |||
<style lang="css" src="./Label.css" /> |
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.
please remove lang attr
src/atoms/label/Label.css
Outdated
@apply block; | ||
@apply mb-1; | ||
@apply text-gray-600 font-normal text-base font-sans leading-relaxed; | ||
@apply transition-none; |
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.
Hmm.. do we need this line?
No description provided.