We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Currently we use many anti-patterns throughout the entire code base.
I recommend to use some idioms from those blog posts:
Such as:
ReactComponent#defaultPropos
Finally I think writing style variants in maps is a good pattern.
const VARIANT_MAPS: Record<BadgeVariant, string> = { [BadgeVariant.ERROR]: 'bg-red-100 text-red-800', [BadgeVariant.NOTE]: 'bg-yellow-100 text-yellow-800', [BadgeVariant.SUCCESS]: 'bg-green-100 text-green-800', [BadgeVariant.INFO]: 'bg-blue-100 text-blue-800', };
The text was updated successfully, but these errors were encountered:
Comeza
Successfully merging a pull request may close this issue.
Currently we use many anti-patterns throughout the entire code base.
I recommend to use some idioms from those blog posts:
Such as:
ReactComponent#defaultPropos
fieldFinally I think writing style variants in maps is a good pattern.
The text was updated successfully, but these errors were encountered: