Skip to content

Commit 543f7aa

Browse files
committed
remove sx from ActionList/Heading
1 parent aa52014 commit 543f7aa

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/react/src/ActionList/Heading.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import React, {forwardRef} from 'react'
2-
import type {SxProp} from '../sx'
32
import {useRefObjectAsForwardedRef} from '../hooks'
43
import type {ForwardRefComponent as PolymorphicForwardRefComponent} from '../utils/polymorphic'
54
import {default as HeadingComponent} from '../Heading'
@@ -17,7 +16,7 @@ export type ActionListHeadingProps = {
1716
size?: HeadingVariants
1817
visuallyHidden?: boolean
1918
className?: string
20-
} & SxProp
19+
}
2120

2221
export const Heading = forwardRef(({as, size, children, visuallyHidden = false, className, ...props}, forwardedRef) => {
2322
const innerRef = React.useRef<HTMLHeadingElement>(null)

0 commit comments

Comments
 (0)