react-native-oh-library / react-native-harmony-sample-package

Sample package for react-native-harmony
MIT License
3 stars 2 forks source link

feat: 添加 No Codegen 形式的 Fabric 组件 #6

Closed dream-approaching closed 2 months ago

dream-approaching commented 2 months ago

Feature Request

添加 No Codegen 形式的 Fabric 组件,包含以下内容:

Why it is needed

No Codegen 为示例工程的关键的场景

Possible implementation

详情可查看 PR

Code sample

该组件源码 src/main/cpp 中分别维护了 ArkTS 和 CAPI 两种形式的源码,在工程中使用时可根据业务按需引入 image