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

feat(TS-11374) add label select #313

Merged
merged 2 commits into from
Feb 28, 2025

Conversation

GabrielMaciel1
Copy link
Contributor

No description provided.

Copy link
Contributor

@dennervidal dennervidal left a 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',
Copy link
Contributor

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' : ''
Copy link
Contributor

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

Copy link
Contributor Author

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

@GabrielMaciel1 GabrielMaciel1 merged commit 08bb86a into develop Feb 28, 2025
1 check passed
@GabrielMaciel1 GabrielMaciel1 deleted the feat/ts-11374-add-label-select branch February 28, 2025 14:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants