Skip to content

Commit 5e0dc00

Browse files
committed
Merge branches 'main' and 'draft/dreamy-shaw' of https://github.com/codesandbox/docs into draft/dreamy-shaw
2 parents ec375e0 + da0b6e8 commit 5e0dc00

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/projects-docs/pages/sdk/template-library.mdx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ You can start from a template by passing the template id to the `sdk.sandboxes.c
1818

1919
```ts
2020
const sandbox = await sdk.sandboxes.create({
21-
template: 'template-id'
21+
source: 'template',
22+
id: 'some-template-id'
2223
})
2324
```
2425

0 commit comments

Comments
 (0)