@@ -27,7 +27,7 @@ import {
2727} from 'react-aria-components' ;
2828import { baseColor , focusRing , size , style } from '../style' with { type : 'macro' } ;
2929import ChevronIcon from '../ui-icons/Chevron' ;
30- import { Collection , DOMRef , DOMRefValue , LinkDOMProps , Node } from '@react-types/shared' ;
30+ import { Collection , DOMRef , DOMRefValue , GlobalDOMAttributes , LinkDOMProps , Node } from '@react-types/shared' ;
3131import { controlFont , controlSize , getAllowedOverrides , StyleProps } from './style-utils' with { type : 'macro' } ;
3232import { createContext , forwardRef , Fragment , ReactNode , RefObject , useCallback , useContext , useEffect , useMemo , useRef , useState } from 'react' ;
3333import FolderIcon from '../s2wf-icons/S2_Icon_FolderBreadcrumb_20_N.svg' ;
@@ -62,7 +62,7 @@ interface BreadcrumbsStyleProps {
6262 // TODO: showRoot?: boolean,
6363}
6464
65- export interface BreadcrumbsProps < T > extends Omit < AriaBreadcrumbsProps < T > , 'children' | 'items' | 'style' | 'className' > , BreadcrumbsStyleProps , StyleProps {
65+ export interface BreadcrumbsProps < T > extends Omit < AriaBreadcrumbsProps < T > , 'children' | 'items' | 'style' | 'className' | keyof GlobalDOMAttributes > , BreadcrumbsStyleProps , StyleProps {
6666 /** The children of the Breadcrumbs. */
6767 children : ReactNode
6868}
@@ -291,7 +291,7 @@ const heading = style({
291291 fontWeight : 'extra-bold'
292292} ) ;
293293
294- export interface BreadcrumbProps extends Omit < AriaBreadcrumbItemProps , 'children' | 'style' | 'className' | 'autoFocus' | 'onClick' > , LinkDOMProps {
294+ export interface BreadcrumbProps extends Omit < AriaBreadcrumbItemProps , 'children' | 'style' | 'className' | 'autoFocus' | 'onClick' | keyof GlobalDOMAttributes > , LinkDOMProps {
295295 /** The children of the breadcrumb item. */
296296 children : ReactNode
297297}
0 commit comments