fix: Fix styles, refactoring

This commit is contained in:
Maksim Eltyshev
2024-08-12 23:17:17 +02:00
parent c594e8bd71
commit 12f05adde7
20 changed files with 229 additions and 202 deletions
+2 -2
View File
@@ -17,7 +17,7 @@ const SIZES = {
const Label = React.memo(({ name, color, size, isDisabled, onClick }) => {
const contentNode = (
<div
<span
title={name}
className={classNames(
styles.wrapper,
@@ -28,7 +28,7 @@ const Label = React.memo(({ name, color, size, isDisabled, onClick }) => {
)}
>
{name || '\u00A0'}
</div>
</span>
);
return onClick ? (