Skip to content

Commit fa9f2dc

Browse files
committed
Minor update to the headless API
1 parent 7a88c84 commit fa9f2dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/docs/getting-started/headless.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import { Fill, makeOffscreenSurface, drawOffscreen } from "@shopify/react-native
2323
const r = size * 0.33;
2424
await LoadSkiaWeb();
2525
const surface = makeOffscreenSurface(width, height);
26-
const image = draw(surface,
26+
const image = drawOffscreen(surface,
2727
<Group blendMode="multiply">
2828
<Circle cx={r} cy={r} r={r} color="cyan" />
2929
<Circle cx={size - r} cy={r} r={r} color="magenta" />

0 commit comments

Comments
 (0)