diff --git a/packages/sanity/src/core/components/StatusButton.tsx b/packages/sanity/src/core/components/StatusButton.tsx index 0e1b835cbbe..603472962f3 100644 --- a/packages/sanity/src/core/components/StatusButton.tsx +++ b/packages/sanity/src/core/components/StatusButton.tsx @@ -6,6 +6,7 @@ import {Button, type ButtonProps} from '../../ui-components' /** @hidden @beta */ export type StatusButtonProps = ButtonProps & { + forwardedAs?: string disabled?: boolean | {reason: ReactNode} mode?: ButtonProps['mode'] iconRight?: undefined diff --git a/packages/sanity/src/structure/components/pane/PaneHeaderActionButton.tsx b/packages/sanity/src/structure/components/pane/PaneHeaderActionButton.tsx index 0f0744de7f8..01bdd9361c2 100644 --- a/packages/sanity/src/structure/components/pane/PaneHeaderActionButton.tsx +++ b/packages/sanity/src/structure/components/pane/PaneHeaderActionButton.tsx @@ -95,7 +95,7 @@ function PaneHeaderActionIntentButton(props: {intent: Intent; node: _PaneMenuIte return (