@expo-harmony/expo-linear-gradient
v55.0.14-harmony.2
Published
HarmonyOS port of expo-linear-gradient
Maintainers
Readme
@expo-harmony/expo-linear-gradient
为 HarmonyOS 上的 React Native 应用提供 Expo LinearGradient 的原生实现,与官方同版本的 expo-linear-gradient 配套使用。支持多色线性渐变、自定义颜色位置和渐变起止点、圆角裁剪,以及在渐变背景上叠加子组件。
安装
npm install @expo-harmony/expo-linear-gradient [email protected]渐变由 ArkUI Canvas 绘制,dither 属性在 HarmonyOS 上不生效。
Author
expo-harmony © Baoshuo, Released under the MIT License. Authored and maintained by Baoshuo with help from contributors.
Personal Website · Blog · GitHub @renbaoshuo · Twitter @baoshuo
