diff --git a/src/specs/AgoraRtcSurfaceViewNativeComponent.tsx b/src/specs/AgoraRtcSurfaceViewNativeComponent.ts similarity index 100% rename from src/specs/AgoraRtcSurfaceViewNativeComponent.tsx rename to src/specs/AgoraRtcSurfaceViewNativeComponent.ts diff --git a/src/specs/AgoraRtcTextureViewNativeComponent.tsx b/src/specs/AgoraRtcTextureViewNativeComponent.ts similarity index 100% rename from src/specs/AgoraRtcTextureViewNativeComponent.tsx rename to src/specs/AgoraRtcTextureViewNativeComponent.ts