diff --git a/extension/data/components/controls/ActionButton.tsx b/extension/data/components/controls/ActionButton.tsx index cd032873..2490a27c 100644 --- a/extension/data/components/controls/ActionButton.tsx +++ b/extension/data/components/controls/ActionButton.tsx @@ -2,15 +2,22 @@ import {type ComponentPropsWithoutRef, forwardRef} from 'react'; import {classes} from '../../util/ui_interop'; import css from './ActionButton.module.css'; -export const ActionButton = forwardRef(({ +export const ActionButton = forwardRef< + HTMLButtonElement, + ComponentPropsWithoutRef<'button'> & { + inline?: boolean; + } +>(({ inline, className, ...props -}: ComponentPropsWithoutRef<'button'> & { - inline?: boolean; }, ref) => (