diff --git a/src/components/navigation/PointerButton.tsx b/src/components/navigation/PointerButton.tsx index 1ba11835..ab01eb4c 100644 --- a/src/components/navigation/PointerButton.tsx +++ b/src/components/navigation/PointerButton.tsx @@ -2,11 +2,8 @@ import classnames from 'classnames'; import type { PresentationalProps } from '../../types'; import { downcastRef } from '../../util/typing'; -import ButtonBase from '../input/ButtonBase'; -import type { - ButtonCommonProps, - HTMLButtonAttributes, -} from '../input/ButtonBase'; +import Button from '../input/Button'; +import type { ButtonProps } from '../input/Button'; type ComponentProps = { /** @@ -17,9 +14,8 @@ type ComponentProps = { }; export type PointerButtonProps = PresentationalProps & - ButtonCommonProps & - ComponentProps & - HTMLButtonAttributes; + Omit & + ComponentProps; /** * A button for pointing toward a quantified set of items somewhere else in the @@ -46,12 +42,12 @@ const PointerButton = function PointerButton({ direction, - ...htmlAttributes + ...htmlAndButtonProps }: PointerButtonProps) { return ( - {children} - + ); };