We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa50d58 commit c50979cCopy full SHA for c50979c
packages/styled-react/src/components/PageHeader.tsx
@@ -42,7 +42,7 @@ function StyledPageHeaderActions({sx, ...rest}: PageHeaderActionsProps) {
42
// @ts-expect-error type mismatch between Box usage here and PrimerPageHeader.Actions
43
return <Box {...rest} as={PrimerPageHeader.Actions} style={style} sx={sx} />
44
}
45
-// @ts-ignore
+// @ts-ignore ignore `as` prop error
46
const PageHeaderActions = ({as, ...props}: PageHeaderActionsProps) => (
47
// @ts-ignore forwardedAs is valid here but I don't know how to fix the typescript error
48
<StyledPageHeaderActions forwardedAs={as} {...props} />
0 commit comments