Skip to content

Commit 58eb77c

Browse files
authored
fix: dead link to schema
1 parent 4224b17 commit 58eb77c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/docs/extension-docs/custom-components.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Arguments:
2323
The name of the custom component that will show up in auto-completions.
2424

2525
- `schema(schema: any): void`
26-
The schema of the component. This is used to create auto-completions for custom component arguments and should be written in [standard JSON schema](https://json-schema.org). You can also access bridge.'s built-in auto-completions with the `$ref` property. They can be found [here](https://github.com/bridge-core/editor/blob/main/data/packages/minecraftBedrock/schema) and should be referenced from the `data` folder root, for example `$ref: '/data/packages/minecraftBedrock/schema/general/slotType.json'` would access slot type auto-completions.
26+
The schema of the component. This is used to create auto-completions for custom component arguments and should be written in [standard JSON schema](https://json-schema.org). You can also access bridge.'s built-in auto-completions with the `$ref` property. They can be found [here](https://github.com/bridge-core/editor-packages/tree/main/packages/minecraftBedrock/schema) and should be referenced from the `data` folder root, for example `$ref: '/data/packages/minecraftBedrock/schema/general/slotType.json'` would access slot type auto-completions.
2727

2828
- `template(templateFunction: (componentArgs: any, opts: TemplateContext) => void): void`
2929
The `templateFunction` receives `componentArgs` which is the component arguments defined by the user, and the `opts` provides functions to allow you to merge data with the file that the component is created on and allows you to create animations and animation controllers.

0 commit comments

Comments
 (0)