File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
packages/react/src/ActionList Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,6 @@ import {useProvidedRefOrCreate} from '../hooks'
99import { FocusKeys , useFocusZone } from '../hooks/useFocusZone'
1010import { clsx } from 'clsx'
1111import classes from './ActionList.module.css'
12- import { BoxWithFallback } from '../internal/components/BoxWithFallback'
1312
1413const UnwrappedList = < As extends React . ElementType = 'ul' > (
1514 props : ActionListProps < As > ,
@@ -67,8 +66,7 @@ const UnwrappedList = <As extends React.ElementType = 'ul'>(
6766 } }
6867 >
6968 { slots . heading }
70- < BoxWithFallback
71- as = { Component }
69+ < Component
7270 className = { clsx ( classes . ActionList , className ) }
7371 role = { listRole }
7472 aria-labelledby = { ariaLabelledBy }
@@ -78,7 +76,7 @@ const UnwrappedList = <As extends React.ElementType = 'ul'>(
7876 { ...restProps }
7977 >
8078 { childrenWithoutSlots }
81- </ BoxWithFallback >
79+ </ Component >
8280 </ ListContext . Provider >
8381 )
8482}
You can’t perform that action at this time.
0 commit comments