Adjust label width, update dependencies. Closes #75

This commit is contained in:
Maksim Eltyshev
2021-01-09 18:42:16 +05:00
parent 2b318fdc7a
commit 3d6f9cc0e5
9 changed files with 498 additions and 463 deletions
+1
View File
@@ -21,6 +21,7 @@ const Label = React.memo(({ name, color, size, isDisabled, onClick }) => {
title={name}
className={classNames(
styles.wrapper,
!name && styles.wrapperNameless,
styles[`wrapper${upperFirst(size)}`],
onClick && styles.wrapperHoverable,
globalStyles[`background${upperFirst(camelCase(color))}`],