Skip to content

Commit

Permalink
*fix testing library not in dev dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Sodik committed Sep 9, 2024
1 parent 4ad602c commit 5b75a3c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/ui/src/Button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ export type ButtonCommonProps = {
outlineClassName?: string
outline?: ButtonOutlineType
tooltip?: string
tooltipColor?: TooltipProps['color']
active?: boolean
truncate?: boolean
} & (ButtonDisabledProps | ButtonNotDisabledProps) &
Expand Down Expand Up @@ -191,6 +192,7 @@ export const Button = forwardRef<HTMLElement, ButtonProps>(
active,
truncate = true,
iconSize: propIconSize,
tooltipColor,
...rest
},
ref,
Expand All @@ -203,6 +205,7 @@ export const Button = forwardRef<HTMLElement, ButtonProps>(
return (
<Tooltip
id={tooltipId}
color={tooltipColor}
content={disabled ? disabledTooltip : tooltip}
visible={disabled && disabledTooltipVisible}
placement={disabledTooltipPlacement}
Expand Down

0 comments on commit 5b75a3c

Please sign in to comment.