diff --git a/packages/react/src/core/convert-utility-to-sx.ts b/packages/react/src/core/convert-utility-to-sx.ts index 84f6f230..8551e555 100644 --- a/packages/react/src/core/convert-utility-to-sx.ts +++ b/packages/react/src/core/convert-utility-to-sx.ts @@ -65,7 +65,10 @@ export const checkAndReturnUtilityProp = ( propPath: [reservedKeys[reservedKey].key], value: propValue, }; - } else if (descendants.includes(reservedKey)) { + } else if ( + Array.isArray(descendants) && + descendants.includes(reservedKey) + ) { return { propPath: [reservedKey], value: propValue,