npx react-native run-android Web yarn add react-native-image-colors Usage importReactfrom'react'import{getColors}from'react-native-image-colors'constuseImageColors=()=>{const[colors,setColors]=React.useState(null)React.useEffect(()=>{consturl='https://i.imgur.com/68jyjZT.jpg'getColors(url,{...
add_library(rnoh_app SHARED ...(原始的部分) "./generated/ImageColorsNativeModule.cpp" "./genera...
2.4.0-0.0.7•Public• Published5 months ago @react-native-oh-tpl/react-native-image-colors 本项目基于react-native-image-colors 文档地址 / Documentation URL 中文/ Chinese 英文/ English Codegen 该库已接入 codegen,具体请查阅文档。 The library has been integrated with codegen. Please refer to...
2 changes: 1 addition & 1 deletion 2 react-native-image-colors/ImageColorsExample.tsx Original file line numberDiff line numberDiff line change @@ -12,7 +12,7 @@ import { } from 'react-native'; import {getColors, cache} from 'react-native-image-colors'; const imgCat = require('./...
Add a description, image, and links to thereact-native-image-colorstopic page so that developers can more easily learn about it. Add this topic to your repo To associate your repository with thereact-native-image-colorstopic, visit your repo's landing page and select "manage topics."...
test: 修改react-native-image-colors的测试demo 07291a5 Qy742698 approved these changes Sep 26, 2024 View reviewed changes Qy742698 merged commit b5efc43 into react-native-oh-library:main Sep 26, 2024 Sign up for free to join this conversation on GitHub. Already have an account? Sign in...