fix: no need to pointerEvents: none if svg have no name
fix: modified unrelated file
This commit is contained in:
parent
eb9acc32f2
commit
a32aca40b2
7 changed files with 5 additions and 22 deletions
|
|
@ -7,9 +7,6 @@ import baseButtonStyles from './BaseButton.styles'
|
|||
const { baseButton, primary } = baseButtonStyles
|
||||
|
||||
const styles = {
|
||||
preventDefaultTooltip: {
|
||||
pointerEvents: 'none'
|
||||
},
|
||||
featureButton: {
|
||||
extend: baseButton,
|
||||
width: baseButton.height,
|
||||
|
|
@ -47,7 +44,7 @@ const FeatureButton = memo(
|
|||
<button className={classnames(classNames, className)} {...props}>
|
||||
{Icon && (
|
||||
<div className={classes.buttonIcon}>
|
||||
<Icon className={classes.preventDefaultTooltip} />
|
||||
<Icon />
|
||||
</div>
|
||||
)}
|
||||
{InverseIcon && (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue