diff --git a/packages/components/src/navigation/item/index.js b/packages/components/src/navigation/item/index.js index 625a5f3cb7265a..6996cb6fce2723 100644 --- a/packages/components/src/navigation/item/index.js +++ b/packages/components/src/navigation/item/index.js @@ -63,14 +63,15 @@ export default function NavigationItem( props ) { onClick( event ); }; const icon = isRTL() ? chevronLeft : chevronRight; - const baseProps = isText + const baseProps = children ? props : { ...props, onClick: undefined }; + const itemProps = isText ? restProps : { as: Button, href, onClick: onItemClick, ...restProps }; return ( - + { children || ( - +