react-native-reanimated
Version:
More powerful alternative to Animated library for React Native.
10 lines (7 loc) • 358 B
text/typescript
;
import type { HostComponent } from 'react-native';
// This is a workaround for Next.js, which resolves the non-native file
// during SSR — `codegenNativeComponent` cannot be called there, so we
// export a dummy host component instead.
// eslint-disable-next-line @typescript-eslint/no-explicit-any
export default {} as HostComponent<any>;