-
Notifications
You must be signed in to change notification settings - Fork 1
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
feat(TS-11374) add label select #313
Conversation
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.
as validações estão quebrando
> | ||
<span | ||
className={clsx( | ||
'custom-span-class', |
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.
não entendi o pq dessa custom-span-class
<span | ||
className={clsx( | ||
'custom-span-class', | ||
hasValue && label ? 'mt-mili' : '' |
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.
essa condicional aqui não poderia ser um condicional pelo clsx
, tipo?
clsx({ 'mt-mili': hasValue && label })
acho que é assim
OU
usar um variant do tailwind-variants
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.
pode sim, so coloquei ternario porque seria um 'padrão' de validação em vez do &&
mais da certo sim desse jeito
No description provided.