import React, { Component } from 'react'; import { AppRegistry, StyleSheet, View, } from 'react-native'; import { DrawCanvas } from '@isirinz/react-native-draw-canvas'; export default class example extends Comp
lerna.json feat: 九宫格抽奖增加背景图片配置项 Dec 14, 2021 package.json feat: 修改lerna配置 && 修复@lucky-canvas/react包example代码, Nov 5, 2021 Repository files navigation README Apache-2.0 license lucky-canvas 抽奖插件 一个基于 JavaScript 的跨平台 ( 大转盘 / 九宫格 / 老虎机 ) 抽奖插件 ...
By the way, I'm using this approach so that I can dynamically read svg files as strings, use JavaScript's replace to modify the fill color as needed and then draw them on canvas. This is an example of the svg strings I work with, before encoding in base64.Member...