export const matchMedia = ( typeof window !== 'undefined' && window . matchMedia ) || ( function matchMediaFallback ( query ) { return { addListener ( ) { if ( process . env . NODE_ENV === 'development' && ! process . env . IS_STATIC && process . env . TAMAGUI_TARGET !== 'web' ) { console . log ( 'warning: matchMedia not loading! Is native picking up .native.js files?' ) ; } } , removeListener ( ) { } , matches : false , } ; } as any ) ;