Skip to content

Commit 27df594

Browse files
authored
Merge pull request #2088 from NikitaDudin/fix/docs-headless
Minor update to the headless API
2 parents 7a88c84 + fa9f2dc commit 27df594

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)