I have the same issue, I think it is actually something caused by NativeWind. I found a GitHub issue related to this.
I assume that NativeWind uses "shadow*" style props internally for the version(s) we are on. I would expect this issue to be resolved in later versions of NativeWind.
If you want to suppress these warnings, the GitHub issue mentions this solution:
const originalConsoleWarn = console.warn;
console.warn = (...args) => {
// https://github.com/react-navigation/react-navigation/issues/11730
if (
args[0] === '"shadow*" style props are deprecated. Use "boxShadow".' &&
new Error().stack?.includes("useNavigationBuilder")
) {
return;
}
originalConsoleWarn(...args);
};