# rnoh_custom_comp_pointerevents **Repository Path**: wu_zhao/rnoh_custom_comp_pointerevents ## Basic Information - **Project Name**: rnoh_custom_comp_pointerevents - **Description**: pointerEvents="none" 对自定义组件无效 自定义组件的交互事件仍能触发 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2025-09-02 - **Last Updated**: 2025-09-17 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Description This is a demo project that does not inherit the RNAbilty and switches from the native page to the RN page. # Directory Structure RNProject -- RN project NativeProject -- Native project # Environment Setup 1. In the `entry` directory, run **ohpm i @rnoh/react-native-openharmony@x.x.x** to install the dependency. 2. Check whether the `oh-modules` folder is generated in the `NativeProject`, `entry`, and `library` directories. 3. Run **npm i @react-native-oh/react-native-harmony@x.x.x** in `RNProject/MainProject` to install the dependency. 4. Run **npm run dev** in `RNProject/MainProject` to generate the bundle. 5. Open `NativeProject` in DevEco Studio and run **Sync and Refresh Project**. 6. Click File > Project Structure > Signing Configs, log in and complete the signing. 7. Click **run** in the upper right corner to start the project.