diff --git a/src/components/Input/Button.tsx b/src/components/Input/Button.tsx index e33d9efaa..e0d09043d 100644 --- a/src/components/Input/Button.tsx +++ b/src/components/Input/Button.tsx @@ -1,4 +1,5 @@ import React from 'react'; +import type { PlacesType } from 'react-tooltip'; import { mdiLoading } from '@mdi/js'; import { Icon } from '@mdi/react'; import cx from 'classnames'; @@ -16,6 +17,7 @@ type Props = { onClick?: React.MouseEventHandler; submit?: boolean; tooltip?: string; + tooltipPlace?: PlacesType; }; const Button = React.memo( @@ -31,6 +33,7 @@ const Button = React.memo( onClick, submit, tooltip, + tooltipPlace, }: Props, ) => (