diff --git a/docs/reference/models/schema.md b/docs/reference/models/schema.md index 748a70eee..31ddf7ed8 100644 --- a/docs/reference/models/schema.md +++ b/docs/reference/models/schema.md @@ -79,7 +79,7 @@ An object that defines the [`Block`](./block.md) and [`Inline`](./inline.md) nod [ { match: { kind: 'block', type: 'code' }, - component: props =>
{props.children}
,
+ render: props => {props.children}
,
decorate: myCodeHighlighter
}
]