File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed
packages/react/src/ActionList Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,6 @@ import {invariant} from '../utils/invariant'
1515import VisuallyHidden from '../_VisuallyHidden'
1616import classes from './ActionList.module.css'
1717import { clsx } from 'clsx'
18- import { BoxWithFallback } from '../internal/components/BoxWithFallback'
1918import { fixedForwardRef } from '../utils/modern-polymorphic'
2019
2120type ActionListSubItemProps = {
@@ -57,7 +56,6 @@ const UnwrappedItem = <As extends React.ElementType = 'li'>(
5756 selected = undefined ,
5857 active = false ,
5958 onSelect : onSelectUser ,
60- sx : sxProp ,
6159 id,
6260 role,
6361 loading,
@@ -246,10 +244,8 @@ const UnwrappedItem = <As extends React.ElementType = 'li'>(
246244 trailingVisualId,
247245 } }
248246 >
249- < BoxWithFallback
247+ < li
250248 { ...containerProps }
251- as = "li"
252- sx = { sxProp }
253249 ref = { listSemantics ? forwardedRef : null }
254250 data-variant = { variant === 'danger' ? variant : undefined }
255251 data-active = { active ? true : undefined }
@@ -313,7 +309,7 @@ const UnwrappedItem = <As extends React.ElementType = 'li'>(
313309 </ ItemWrapper >
314310 { ! inactive && ! loading && ! menuContext && Boolean ( slots . trailingAction ) && slots . trailingAction }
315311 { slots . subItem }
316- </ BoxWithFallback >
312+ </ li >
317313 </ ItemContext . Provider >
318314 )
319315}
You can’t perform that action at this time.
0 commit comments