feat(segmentation): Enhanced segmentation panel design for TMTV (#3988)
Co-authored-by: Alireza <ar.sedghi@gmail.com>
This commit is contained in:
1 parent
e8e209291c
commit
9f3235ff09
51 files changed
+2001
-572
No files matched your search
@@ -16,6 +16,7 @@ const ToolbarButton = ({
|
||||
//
|
||||
className,
|
||||
disabled,
|
||||
disabledText,
|
||||
size,
|
||||
toolTipClassName,
|
||||
disableToolTip = false,
|
||||
@@ -38,7 +39,7 @@ const ToolbarButton = ({
|
||||
<Tooltip
|
||||
isSticky={shouldShowDropdown}
|
||||
content={shouldShowDropdown ? dropdownContent : label}
|
||||
secondaryContent={disabled ? 'Not available on the current viewport' : null}
|
||||
secondaryContent={disabledText}
|
||||
tight={shouldShowDropdown}
|
||||
className={toolTipClassNameToUse}
|
||||
isDisabled={disableToolTip}
|
||||
|
||||
Reference in new issue
Block a user