We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 07c2ec3 commit 7ba59a9Copy full SHA for 7ba59a9
src/index.tsx
@@ -149,6 +149,24 @@ export default class RNSketchCanvas extends React.Component<
149
}
150
151
152
+ getBase64(
153
+ imageType: string,
154
+ transparent: boolean,
155
+ includeImage: boolean,
156
+ includeText: boolean,
157
+ cropToImageSize: boolean,
158
+ callback: () => void,
159
+ ) {
160
+ return this._sketchCanvas.getBase64(
161
+ imageType,
162
+ transparent,
163
+ includeImage,
164
+ includeText,
165
+ cropToImageSize,
166
+ callback,
167
+ );
168
+ }
169
+
170
nextStrokeWidth() {
171
if (
172
(this.state.strokeWidth >= (this.props.maxStrokeWidth || 0) &&
0 commit comments